aboutsummaryrefslogtreecommitdiffstats
path: root/home/root
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-06-15 14:52:36 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-06-15 14:52:36 -0700
commitf913eb2c44feae49e8081e36654c1ab4dbeb2524 (patch)
tree568c5c32d0c7d5821dd06fbf9a76e766e8f872ae /home/root
parentf549e56d541a9c725304444c98e58ed8789ee75f (diff)
downloadnix-f913eb2c44feae49e8081e36654c1ab4dbeb2524.tar
nix-f913eb2c44feae49e8081e36654c1ab4dbeb2524.tar.gz
nix-f913eb2c44feae49e8081e36654c1ab4dbeb2524.tar.bz2
nix-f913eb2c44feae49e8081e36654c1ab4dbeb2524.tar.lz
nix-f913eb2c44feae49e8081e36654c1ab4dbeb2524.tar.xz
nix-f913eb2c44feae49e8081e36654c1ab4dbeb2524.tar.zst
nix-f913eb2c44feae49e8081e36654c1ab4dbeb2524.zip
Add helper alias to list all derivations for the current-system
Diffstat (limited to '')
-rw-r--r--home/root/common/core/zsh/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/home/root/common/core/zsh/default.nix b/home/root/common/core/zsh/default.nix
index 44f8ed3..5fe88b2 100644
--- a/home/root/common/core/zsh/default.nix
+++ b/home/root/common/core/zsh/default.nix
@@ -25,6 +25,7 @@ export COLORFGBG=";0"
ip = "ip -c=auto";
la = "ls -aF --color=auto";
ll = "ls -alFhs --color=auto";
+ nix-list-derivations = "nix-store --query --requisites /run/current-system | cut -d- -f2- | sort | uniq";
nix-list-generations = "nixos-rebuild list-generations | cat; echo; nix-env --list-generations --profile /nix/var/nix/profiles/system";
zgrep = "zgrep --color=auto";
};