Default GC is on and daily
This commit is contained in:
parent
cf44a579a2
commit
deb99c4598
1 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ in
|
|||
gc = {
|
||||
|
||||
enable = lib.mkOption {
|
||||
default = false;
|
||||
default = true;
|
||||
type = lib.types.bool;
|
||||
description = "Enable garbage collection";
|
||||
};
|
||||
|
|
@ -49,7 +49,7 @@ in
|
|||
gc = lib.mkIf cfg.gc.enable {
|
||||
# Auto delete old generations
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
dates = "daily";
|
||||
options = "--delete-older-than 2d";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue