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