From 19259bf4dc1d8ac939d3594da0ec047f7ecdd1bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Fri, 6 Feb 2026 20:31:15 +0100 Subject: [PATCH] chore: teach claude about nvd --- CLAUDE.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 40ed0c8..66c34e4 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -32,6 +32,13 @@ If moving things around, you can use `nix eval` before and after changes to chec nix eval .#nixosConfigurations.magicman.config.nix.settings.substituters --json | jq ``` +### Comparing with Running System +```bash +# Build and compare against currently running system +nixos-rebuild build --flake . && nvd diff /run/current-system result +``` +This shows package version changes, added/removed packages, and closure size differences between what's currently running and the repo configuration. + ### Common Operations ```bash # Check flake without building