From c35ee793a10b35e2bd0583d1d5784791de7812be Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Tue, 27 Feb 2024 03:00:32 -0500 Subject: [PATCH] add space optimizations for servers Signed-off-by: ahuston-0 --- systems/configuration.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/systems/configuration.nix b/systems/configuration.nix index 15ab3da..d606003 100644 --- a/systems/configuration.nix +++ b/systems/configuration.nix @@ -187,9 +187,10 @@ connect-timeout = 20; }; + # free up to 10 gb when only 1 gb left extraOptions = '' - min-free = ${toString (100 * 1024 * 1024)} - max-free = ${toString (1024 * 1024 * 1024)} + min-free = ${toString (1 * 1024 * 1024 * 1024)} + max-free = ${toString (10 * 1024 * 1024 * 1024)} ''; gc = {