diff --git a/configuration/common/default.nix b/configuration/common/default.nix index 0f907c0..682a5f1 100644 --- a/configuration/common/default.nix +++ b/configuration/common/default.nix @@ -40,7 +40,7 @@ services.openssh.kbdInteractiveAuthentication = false; services.openssh.permitRootLogin = lib.mkDefault "no"; - nix.gc = { + nix.gc = lib.mkDefault { automatic = true; dates = "weekly"; options = "--delete-older-than 30d"; diff --git a/hosts/osmium/configuration.nix b/hosts/osmium/configuration.nix index b84971e..b430c61 100644 --- a/hosts/osmium/configuration.nix +++ b/hosts/osmium/configuration.nix @@ -27,6 +27,12 @@ git ]; + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 400d"; + }; + clerie.monitoring = { enable = true; id = "201";