aboutsummaryrefslogtreecommitdiffstats
path: root/ginaz/README
diff options
context:
space:
mode:
Diffstat (limited to 'ginaz/README')
-rw-r--r--ginaz/README6
1 files changed, 6 insertions, 0 deletions
diff --git a/ginaz/README b/ginaz/README
index acd8dfd..3661901 100644
--- a/ginaz/README
+++ b/ginaz/README
@@ -55,3 +55,9 @@ reboot
# upgrade to unstable
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)