diff --git a/modules/platform/upgrades.nix b/modules/platform/upgrades.nix index bf21f3d..ef43a9c 100644 --- a/modules/platform/upgrades.nix +++ b/modules/platform/upgrades.nix @@ -4,6 +4,13 @@ enable = true; flake = "github:Moe1369/nix-fleet#${host}"; dates = "Sun 04:00"; + persistent = true; + }; + nix.gc = { + automatic = true; + dates = "Sun 04:00"; + options = "--delete-older-than 7d"; + persistent = true; }; }; }