From b5b819242f366c6e43bd82fb62b14ca910139d8c Mon Sep 17 00:00:00 2001
From: Mark Nipper <nipsy@bitgnome.net>
Date: Fri, 15 Mar 2024 11:42:04 -0700
Subject: Add improved upgrade command

---
 ginaz/README | 5 +----
 1 file changed, 1 insertion(+), 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)
-- 
cgit v1.2.3