Set the frequency for GC
This commit is contained in:
parent
af8f675734
commit
e49dd18446
1 changed files with 1 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ in
|
||||||
gc = lib.mkIf cfg.gc.enable {
|
gc = lib.mkIf cfg.gc.enable {
|
||||||
# Auto delete old generations
|
# Auto delete old generations
|
||||||
automatic = true;
|
automatic = true;
|
||||||
|
dates = "weekly";
|
||||||
options = "--delete-older-than 2d";
|
options = "--delete-older-than 2d";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue