Show nvd package diff after switch completes
Saves the old system path before switching so nvd can compare old vs new after everything else finishes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7088f1d68e
commit
e156d79862
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@
|
|||
|
||||
# Shell aliases (work in both bash and fish)
|
||||
environment.shellAliases = {
|
||||
update = "sudo nixos-rebuild build --flake github:ediblerope/nixos-config && nvd diff /run/current-system result && sudo nixos-rebuild switch --flake github:ediblerope/nixos-config";
|
||||
update = "OLD_SYSTEM=$(readlink /run/current-system) && sudo nixos-rebuild build --flake github:ediblerope/nixos-config && sudo nixos-rebuild switch --flake github:ediblerope/nixos-config && nvd diff $OLD_SYSTEM /run/current-system";
|
||||
clean = "sudo nix-collect-garbage -d";
|
||||
ll = "ls -alh";
|
||||
clear = "command clear";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue