diff --git a/nixos/hosts/silver/configuration.nix b/nixos/hosts/silver/configuration.nix index 2f287a1..1833486 100644 --- a/nixos/hosts/silver/configuration.nix +++ b/nixos/hosts/silver/configuration.nix @@ -95,5 +95,12 @@ in { hostKeys = ["/persist/etc/secrets/initrd/ssh_host_ed25519_key"]; }; + # Periodic nix gc + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 30d"; + }; + system.stateVersion = "24.05"; }