diff options
author | Alan Pearce | 2019-10-21 22:58:56 +0200 |
---|---|---|
committer | Alan Pearce | 2019-10-21 22:58:56 +0200 |
commit | 43eea14f7530366a5bd89328d557d3602e1af0d1 (patch) | |
tree | 33edde694635d085ed88ec0c737af38e3afac63c /user | |
parent | 42ae19e4dfc9cca93fa7030a98939de3528457c2 (diff) | |
download | nixfiles-43eea14f7530366a5bd89328d557d3602e1af0d1.tar.lz nixfiles-43eea14f7530366a5bd89328d557d3602e1af0d1.tar.zst nixfiles-43eea14f7530366a5bd89328d557d3602e1af0d1.zip |
zsh: Add further nix aliases
Diffstat (limited to 'user')
-rw-r--r-- | user/settings/zsh.nix | 3 |
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 = '' |