Add clean
function
This commit is contained in:
parent
e610e30658
commit
4e1aa667da
5
run
5
run
|
@ -12,6 +12,11 @@ function check {
|
||||||
nix flake check
|
nix flake check
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function clean {
|
||||||
|
nix store gc --verbose
|
||||||
|
nix store optimise --verbose
|
||||||
|
}
|
||||||
|
|
||||||
function collect-garbage {
|
function collect-garbage {
|
||||||
nix-collect-garbage -d
|
nix-collect-garbage -d
|
||||||
sudo nix-collect-garbage -d
|
sudo nix-collect-garbage -d
|
||||||
|
|
Loading…
Reference in a new issue