diff --git a/containers/server-n0/git.nix b/containers/server-n0/git.nix index 07786df..b7ac5ce 100644 --- a/containers/server-n0/git.nix +++ b/containers/server-n0/git.nix @@ -163,10 +163,9 @@ in trusted-public-keys = [ "microvm.cachix.org-1:oXnBc6hRE3eX5rSYdRyMYXnfzcCxC7yKPTbZXALsqys=" ]; }; - nix.gc = { - automatic = true; - dates = "daily"; - options = "--delete-older-than 14d"; + nix.settings = { + min-free = 5 * 1024 * 1024 * 1024; + max-free = 10 * 1024 * 1024 * 1024; }; # nix.optimise.automatic = true; - doesn't work with microvm.writableStoreOverlay