update make
This commit is contained in:
parent
807d1ef339
commit
47616f4337
3
Makefile
3
Makefile
@ -18,7 +18,8 @@ history:
|
|||||||
|
|
||||||
gc:
|
gc:
|
||||||
# remove all generations older than 7 days
|
# remove all generations older than 7 days
|
||||||
sudo nix profile wipe-history --profile /nix/var/nix/profiles/system --older-than 7d --extra-experimental-features nix-command
|
sudo nix profile wipe-history --profile /nix/var/nix/profiles/system --older-than 3d --extra-experimental-features nix-command
|
||||||
|
|
||||||
# garbage collect all unused nix store entries
|
# garbage collect all unused nix store entries
|
||||||
sudo nix store gc --debug --extra-experimental-features nix-command
|
sudo nix store gc --debug --extra-experimental-features nix-command
|
||||||
|
nix-collect-garbage -d
|
||||||
|
Reference in New Issue
Block a user