From f913eb2c44feae49e8081e36654c1ab4dbeb2524 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Sat, 15 Jun 2024 14:52:36 -0700 Subject: Add helper alias to list all derivations for the current-system --- home/root/common/core/zsh/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'home') 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"; }; -- cgit v1.2.3