aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2025-03-04 11:21:04 -0800
committerMark Nipper <nipsy@bitgnome.net>2025-03-04 11:21:04 -0800
commit60d8d8bbd3b8b721d0aac993924020fc7bce1d7a (patch)
tree976d4c25be2222ed3583deaded698a3985b22a90
parent34f7227297e9adef5e925dbe3b5ff2575adf994a (diff)
downloadnix-60d8d8bbd3b8b721d0aac993924020fc7bce1d7a.tar
nix-60d8d8bbd3b8b721d0aac993924020fc7bce1d7a.tar.gz
nix-60d8d8bbd3b8b721d0aac993924020fc7bce1d7a.tar.bz2
nix-60d8d8bbd3b8b721d0aac993924020fc7bce1d7a.tar.lz
nix-60d8d8bbd3b8b721d0aac993924020fc7bce1d7a.tar.xz
nix-60d8d8bbd3b8b721d0aac993924020fc7bce1d7a.tar.zst
nix-60d8d8bbd3b8b721d0aac993924020fc7bce1d7a.zip
Add persistent option to catch often powered off hosts
-rw-r--r--hosts/common/core/nix.nix4
1 files 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";
};
};