diff --git a/hosts/hecuba/default.nix b/hosts/hecuba/default.nix index 1ae0d52..c11e204 100644 --- a/hosts/hecuba/default.nix +++ b/hosts/hecuba/default.nix @@ -59,6 +59,18 @@ in security.sudo.wheelNeedsPassword = false; + nix.gc = { + automatic = true; + dates = "weekly"; + options = "-d"; + }; + + virtualisation.docker.autoPrune = { + enable = true; + dates = "weekly"; + flags = [ "--all" ]; + }; + networking.firewall = { enable = true; allowedTCPPorts = [ @@ -78,5 +90,6 @@ in enable = true; maxretry = 5; }; + journald.extraConfig = "SystemMaxUse=500M"; }; }