From 60d8d8bbd3b8b721d0aac993924020fc7bce1d7a Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Tue, 4 Mar 2025 11:21:04 -0800 Subject: Add persistent option to catch often powered off hosts --- hosts/common/core/nix.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/common/core/nix.nix b/hosts/common/core/nix.nix index a989f03..14252d8 100644 --- a/hosts/common/core/nix.nix +++ b/hosts/common/core/nix.nix @@ -17,9 +17,9 @@ in { gc = { automatic = true; dates = "weekly"; + options = "--delete-older-than 30d"; + persistent = true; randomizedDelaySec = "14m"; - # Keep the last 2 generations - options = "--delete-older-than 28d"; }; }; -- cgit v1.2.3