diff --git a/configuration/common/default.nix b/configuration/common/default.nix index f2c0dca..8ee1230 100644 --- a/configuration/common/default.nix +++ b/configuration/common/default.nix @@ -38,6 +38,12 @@ services.openssh.challengeResponseAuthentication = false; services.openssh.permitRootLogin = lib.mkDefault "no"; + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 30d"; + }; + services.nginx = { enableReload = true; recommendedGzipSettings = true;