add space optimizations for servers
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
61e4c547f0
commit
ff3704a945
@ -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 = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user