add space optimizations for servers

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-02-27 02:59:13 -05:00 committed by Alice Huston
parent 61e4c547f0
commit ff3704a945

View File

@ -187,11 +187,21 @@
connect-timeout = 20; connect-timeout = 20;
}; };
extraOptions = ''
min-free = ${toString (100 * 1024 * 1024)}
max-free = ${toString (1024 * 1024 * 1024)}
'';
gc = { gc = {
automatic = true; automatic = true;
dates = "weekly"; dates = "weekly";
options = "--delete-older-than 30d"; options = "--delete-older-than 30d";
}; };
optimize = {
automatic = true;
dates = [ "01:00" ];
};
}; };
system = { system = {