modules/nix-config: tweak GC
This commit is contained in:
parent
8e0c4029e0
commit
5ccc23d263
1 changed files with 3 additions and 1 deletions
|
@ -47,12 +47,14 @@ in {
|
|||
flake-registry = ${
|
||||
pkgs.writeText "null-registry.json" ''{"flakes":[],"version":2}''
|
||||
}
|
||||
max-free = ${toString (8 * 1024*1024*1024)}
|
||||
min-free = ${toString (4 * 1024*1024*1024)}
|
||||
'';
|
||||
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
options = "--delete-older-than 5d --max-freed 16G";
|
||||
};
|
||||
|
||||
distributedBuilds = true;
|
||||
|
|
Loading…
Reference in a new issue