Our review
This skill updates the flake.lock file of a NixOS project to pull in the latest commits from all flake inputs, keeping you on the same release channel.
Strengths
- Safe operation with rollback capability
- Verification step before applying
- Updates all inputs with a single command
Limitations
- Does not change the NixOS major version
- May require manual fixes if build errors occur
Use this skill when you want to refresh your NixOS configuration dependencies without upgrading the release channel.
Do not use this for NixOS major version upgrades (use 'upgrade-nixos') or if you prefer to update a single input selectively.
Security analysis
SafeThe skill runs standard NixOS package update commands via just recipes, with no destructive or exfiltrating actions. No external code execution or security bypass.
No concerns found
Examples
Update flake.lock to get the latest packages from all inputs, then check the build and apply if successful.Run nix flake update to refresh flake.lock, then git diff to see changes, but do not apply.name: upgrade-flake description: | This skill updates flake.lock to get latest packages within current NixOS release. Triggers: "update flake", "upgrade flake", "nix flake update", "bump flake.lock", "update flake inputs", "refresh inputs", "update dependencies". Runs nix flake update, checks build, optionally applies. Not for NixOS release upgrades (use upgrade-nixos for major version changes).
Upgrade Flake Inputs
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 updateThis runs
nix flake updateand updatesflake.lock. -
Build and verify (safe dry-run)
just checkBuilds all configurations without applying. If this fails, fix errors before proceeding.
-
Apply the update (when ready)
just switch -
Verify services are running
systemctl status docker tailscaled
Rollback if needed
When you're done echo out the instructions to:
# Revert to previous system generation
sudo nixos-rebuild switch --rollback
# Revert flake.lock to previous state
git checkout flake.lock
Tips
- show the user what ch
git diff flake.lockto see what changed before applying - Old boot entries remain available for rollback until garbage collected
$ARGUMENTS
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.