summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/settings/zsh.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix
index e0027e08..7a8f7ed8 100644
--- a/user/settings/zsh.nix
+++ b/user/settings/zsh.nix
@@ -284,7 +284,10 @@ in
       nq = "nix-env -q";
       ne = "nix-env -e";
       nup = "nix-env -u";
+      nlg = "nix-env --list-generations";
+      snlg = "sudo nix-env --list-generations --profile /nix/var/nix/profiles/system";
       ngc = "nix-collect-garbage --delete-older-than 14d";
+      sngc = "sudo nix-collect-garbage --delete-older-than 14d";
     };
 
     envExtra = ''