just: gc only after 14 days
This commit is contained in:
@@ -11,7 +11,7 @@ update:
|
|||||||
|
|
||||||
# Clean up old generations and optimize store
|
# Clean up old generations and optimize store
|
||||||
gc:
|
gc:
|
||||||
sudo nix-collect-garbage -d
|
sudo nix-collect-garbage --delete-older-than 14d
|
||||||
sudo nix-store --optimise
|
sudo nix-store --optimise
|
||||||
sudo nixos-rebuild boot --flake .#{{host}}
|
sudo nixos-rebuild boot --flake .#{{host}}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user