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 = {
|
gc = {
|
||||||
|
|
||||||
enable = lib.mkOption {
|
enable = lib.mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
description = "Enable garbage collection";
|
description = "Enable garbage collection";
|
||||||
};
|
};
|
||||||
|
|
@ -49,7 +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";
|
dates = "daily";
|
||||||
options = "--delete-older-than 2d";
|
options = "--delete-older-than 2d";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue