Add clean function

This commit is contained in:
Oliver Davies 2025-03-11 07:44:18 +00:00
parent e610e30658
commit 4e1aa667da

5
run
View file

@ -12,6 +12,11 @@ function check {
nix flake check
}
function clean {
nix store gc --verbose
nix store optimise --verbose
}
function collect-garbage {
nix-collect-garbage -d
sudo nix-collect-garbage -d