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