diff --git a/ops/nixos/lib/common.nix b/ops/nixos/lib/common.nix index 5af5758521..a5de702953 100644 --- a/ops/nixos/lib/common.nix +++ b/ops/nixos/lib/common.nix @@ -127,6 +127,7 @@ in nix.gc = { automatic = lib.mkDefault true; dates = "*-*-* 05:00:00"; + options = "--delete-older-than 7d"; }; home-manager.useUserPackages = true;