diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-03-15 11:42:04 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-03-15 11:42:04 -0700 |
commit | b5b819242f366c6e43bd82fb62b14ca910139d8c (patch) | |
tree | 0ef4c99066105c0c2bf3c139f0963dbcb0aa325d /ginaz | |
parent | aac10bbbd7faed479be6cdbe2165b738caf04a7e (diff) | |
download | nix-b5b819242f366c6e43bd82fb62b14ca910139d8c.tar nix-b5b819242f366c6e43bd82fb62b14ca910139d8c.tar.gz nix-b5b819242f366c6e43bd82fb62b14ca910139d8c.tar.bz2 nix-b5b819242f366c6e43bd82fb62b14ca910139d8c.tar.lz nix-b5b819242f366c6e43bd82fb62b14ca910139d8c.tar.xz nix-b5b819242f366c6e43bd82fb62b14ca910139d8c.tar.zst nix-b5b819242f366c6e43bd82fb62b14ca910139d8c.zip |
Add improved upgrade command
Diffstat (limited to '')
-rw-r--r-- | ginaz/README | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ginaz/README b/ginaz/README index 3661901..979fcd9 100644 --- a/ginaz/README +++ b/ginaz/README @@ -57,7 +57,4 @@ nix-channel --add https://nixos.org/channels/nixos-unstable nixos nixos-rebuild switch --upgrade # later upgrades after flakes are enabled -cd /etc/nixos && nix flake update && cd && nixos-rebuild switch --upgrade - -# show differences between two most recent closures -nix store diff-closures $(find /nix/var/nix/profiles -iname system-\* -type l | head -2 | xargs) +cd /etc/nixos && nix flake update && cd && nixos-rebuild switch --upgrade && echo && nixos-rebuild list-generations | cat && echo && nix store diff-closures $(find /nix/var/nix/profiles -iname system-\* -type l | head -2 | xargs) |