commit 72c28c51ba45ec81c2d7376b23e695853ee828c1
parent fa307d557e3c6fa5212f2b6e5ac12e8788ee95e2
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 12 Oct 2021 11:48:33 +0200
parent fa307d557e3c6fa5212f2b6e5ac12e8788ee95e2
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 12 Oct 2021 11:48:33 +0200
programs/bash: add aliases (eval-system-config, nix-collect-garbage)
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/configurations/programs/cli/bash.nix b/configurations/programs/cli/bash.nix @@ -34,6 +34,9 @@ use = "nix-shell -p "; zzz = "systemctl suspend"; + + eval-system-config = "nix-instantiate \"<nixpkgs/nixos>\" -A config.system.build.toplevel -I /etc/nixos/configuration.nix"; + nix-collect-garbage = "sudo nix-collect-garbage"; }; }; };