From e1b953dbcb36d087efeac4c1555d262c8e93016c Mon Sep 17 00:00:00 2001 From: Drew Haven Date: Sun, 12 Apr 2026 11:30:31 -0700 Subject: [PATCH] [GC] Make GC persistent so it will run even if the system was down. --- system/features/gc.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/features/gc.nix b/system/features/gc.nix index 33627e4..162d44f 100644 --- a/system/features/gc.nix +++ b/system/features/gc.nix @@ -1,8 +1,9 @@ -{ ... }: { +_: { # Automatic nix.gc = { automatic = true; dates = "weekly"; + persistent = true; options = "--delete-older-than 30d"; }; }