Auto optimize storage
This commit is contained in:
parent
583467ffd4
commit
4e87fba917
@ -65,7 +65,11 @@ in {
|
|||||||
system.stateVersion = "18.09";
|
system.stateVersion = "18.09";
|
||||||
system.autoUpgrade.enable = true;
|
system.autoUpgrade.enable = true;
|
||||||
|
|
||||||
nix.gc.automatic = true;
|
nix = {
|
||||||
nix.gc.dates = "weekly";
|
optimise.automatic = true;
|
||||||
nix.gc.options = "--delete-older-than 30d";
|
gc = {
|
||||||
|
automatic = true;
|
||||||
|
options = "--delete-older-than 7d";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user