Skip to content
Back to skills

Nix Update

ASecurity

Compare locked Nix package versions, update flake inputs for review, or update and apply the dotfiles profile.

  • 194 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 5, 2026
toolsgit

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add wcygan/dotfiles --skill nix-update --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nix Update?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Nix Update
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wcygan-nix-update/badge)](https://www.skillsdirectory.com/skills/wcygan-nix-update)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: nix-update
description: Compare locked Nix package versions, update flake inputs for review, or update and apply the dotfiles profile.
---

# Update Nix inputs

Start with `git status --short`, `git diff -- flake.lock`, and the input
revisions in the working copy of `flake.lock`. Preserve pre-existing edits.
Use [nix-manager](../nix-manager/SKILL.md) for package selection and profile
mechanics.

## Choose how far to take the update

- **Compare versions.** Use the requested revisions and system. A comparison
  can be completed without writing the lock or installing a profile.
- **Update the lockfile for review.** From the repository root, run the
  lock-update step of the [Makefile](../../../Makefile):
  `nix --extra-experimental-features "nix-command flakes" flake update --refresh`.
  Append the requested input name for a single-input update. Inspect the lock
  diff and verify the result. The installed profile stays at its previous
  generation.
- **Update all inputs and apply them to this machine.** With both effects
  authorized, run `make update`. It updates the lock, then runs
  `./bootstrap.sh profile`. For a single input, run the scoped lock update
  above and the authorized profile step. To apply an already-reviewed lock,
  run only `./bootstrap.sh profile`.

## Verify and report

Inspect the changed input revisions. Compare the requested or important
packages actually selected in `flake.nix` before and after the update. Follow
the input, target system, and local overrides used by each package. Report any
version you could not determine.

For a lock change, run `make test-eval` to evaluate all declared systems,
`nix build .#default --dry-run --no-write-lock-file` for the host build plan,
and `make test-pre`. After a profile application, run `./bootstrap.sh verify`.
If a combined update fails, inspect the lock diff and profile state to find
which step completed before retrying. Preserve the user's existing changes.

Report changed input revisions, material package changes, verification
results, and whether the host profile was applied. If the inputs were already
current, say so.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.