aboutsummaryrefslogtreecommitdiffstats
path: root/ginaz
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ginaz/README2
1 files changed, 1 insertions, 1 deletions
diff --git a/ginaz/README b/ginaz/README
index 979fcd9..373522d 100644
--- a/ginaz/README
+++ b/ginaz/README
@@ -57,4 +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 && echo && nixos-rebuild list-generations | cat && echo && 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 | sort | tail -2 | xargs)