all repos — nixfiles @ 43eea14f7530366a5bd89328d557d3602e1af0d1

System and user configuration, managed by nix and home-manager

zsh: Add further nix aliases
Alan Pearce alan@alanpearce.eu
Mon, 21 Oct 2019 22:58:56 +0200
commit

43eea14f7530366a5bd89328d557d3602e1af0d1

parent

42ae19e4dfc9cca93fa7030a98939de3528457c2

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M user/settings/zsh.nixuser/settings/zsh.nix
@@ -284,7 +284,10 @@ ni = "nix-env -iA";       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 = ''