update make

This commit is contained in:
Sense T 2023-06-29 07:14:31 +08:00
parent 807d1ef339
commit 47616f4337

View File

@ -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