Auto garbage collect
This commit is contained in:
parent
e25a2f34b8
commit
0672f93d16
@ -51,4 +51,8 @@ in {
|
|||||||
|
|
||||||
system.autoUpgrade.enable = true;
|
system.autoUpgrade.enable = true;
|
||||||
system.stateVersion = "18.09";
|
system.stateVersion = "18.09";
|
||||||
|
|
||||||
|
nix.gc.automatic = true;
|
||||||
|
nix.gc.dates = "weekly";
|
||||||
|
nix.gc.options = "--delete-older-than 30d";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user