Update flake.lock to pull in the latest commits from all flake inputs. This gets you newer package versions without changing NixOS release channels.
What this does
Updates all inputs to their latest commits (nixpkgs, home-manager, etc.)
Does NOT change release channels (stays on same NixOS version)
Safe operation - can always rollback
Process
Update the lock file
just up
This runs nix flake update and updates flake.lock.
Build and verify (safe dry-run)
just check
Builds all configurations without applying. If this fails, fix errors before proceeding.
Apply the update (when ready)
just switch
Rollback if needed
When you're done echo out the instructions to:
# Revert to previous system generation, except on nix-darwin
sudo nixos-rebuild switch --rollback
# Revert flake.lock to previous state
git checkout flake.lock
Tips
show the user what ch git diff flake.lock to see what changed before applying
Old boot entries remain available for rollback until garbage collected
$ARGUMENTS
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: twistoy-contrib-dotnix-upgrade-flake3description: Upgrade Flake Inputs4---56# Upgrade Flake Inputs78Update `flake.lock` to pull in the latest commits from all flake inputs. This gets you newer package versions without changing NixOS release channels.910## What this does1112- Updates all inputs to their latest commits (nixpkgs, home-manager, etc.)13- Does NOT change release channels (stays on same NixOS version)14- Safe operation - can always rollback1516## Process17181. **Update the lock file**19 ```bash20 just up21 ```22 This runs `nix flake update` and updates `flake.lock`.23242. **Build and verify** (safe dry-run)25 ```bash26 just check27 ```28 Builds all configurations without applying. If this fails, fix errors before proceeding.29303. **Apply the update** (when ready)31 ```bash32 just switch33 ```343536## Rollback if needed37When you're done echo out the instructions to:38```bash39# Revert to previous system generation, except on nix-darwin40sudo nixos-rebuild switch --rollback4142# Revert flake.lock to previous state43git checkout flake.lock44```4546## Tips4748- show the user what ch `git diff flake.lock` to see what changed before applying49- Old boot entries remain available for rollback until garbage collected5051$ARGUMENTS5253---54> Converted and distributed by [TomeVault](https://tomevault.io/claim/twistoy-contrib) — claim your Tome and manage your conversions.55<!-- tomevault:4.0:skill_md:2026-04-11 -->
Run npx skillmds@latest add tomevault-io/twistoy-contrib-dotnix-upgrade-flake in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Upgrade Flake Inputs It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.