tweak(nix-gc): automatically delete old generations
This commit is contained in:
parent
1b4fe340b8
commit
a49f007542
1 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,10 @@ with lib;
|
|||
sandbox = true;
|
||||
};
|
||||
|
||||
gc.automatic = true;
|
||||
gc = {
|
||||
automatic = true;
|
||||
options = "--delete-older-than 3d";
|
||||
};
|
||||
|
||||
optimise.automatic = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue