Enable nix garbage collection service
This commit is contained in:
parent
b139f3d469
commit
d6f3aadeaf
1 changed files with 7 additions and 0 deletions
|
@ -119,6 +119,13 @@
|
|||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
|
||||
gc = {
|
||||
automatic = true;
|
||||
persistent = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
};
|
||||
|
||||
system = {
|
||||
|
|
Loading…
Reference in a new issue