add mkDefault to gc config
This commit is contained in:
parent
282a02d55c
commit
cbac9fb3ef
1 changed files with 4 additions and 4 deletions
|
|
@ -98,10 +98,10 @@
|
||||||
roles.default.tags.server = { };
|
roles.default.tags.server = { };
|
||||||
roles.default.extraModules = [
|
roles.default.extraModules = [
|
||||||
{
|
{
|
||||||
nix.gc.automatic = true;
|
nix.gc.automatic = lib.mkDefault true;
|
||||||
nix.gc.dates = "Mon 3:15";
|
nix.gc.dates = lib.mkDefault "Mon 3:15";
|
||||||
nix.gc.randomizedDelaySec = "30min";
|
nix.gc.randomizedDelaySec = lib.mkDefault "30min";
|
||||||
nix.gc.options = "--delete-older-than 30d";
|
nix.gc.options = lib.mkDefault "--delete-older-than 30d";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue