feat: enable gc
This commit is contained in:
parent
df147cf953
commit
347556ea09
2 changed files with 12 additions and 0 deletions
|
@ -84,6 +84,12 @@
|
|||
experimental-features = nix-command flakes
|
||||
warn-dirty = false
|
||||
'';
|
||||
settings.auto-optimise-store = true;
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "23.05";
|
||||
|
|
|
@ -77,6 +77,12 @@
|
|||
experimental-features = nix-command flakes
|
||||
warn-dirty = false
|
||||
'';
|
||||
settings.auto-optimise-store = true;
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "delete-older-than 7d";
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "23.05";
|
||||
|
|
Loading…
Reference in a new issue