From a8ea040c324db70bb99e2729eacfda3a9c942b37 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Sat, 19 Sep 2026 12:11:18 +0800 Subject: [PATCH] fix(trash): persist the cleanup timer trash-empty lacked Persistent=true, so a host that was off or suspended at the scheduled time never ran the purge and trash retention silently stopped. --- modules/nixos/base/trash.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/nixos/base/trash.nix b/modules/nixos/base/trash.nix index 1c70598c..d67ae950 100644 --- a/modules/nixos/base/trash.nix +++ b/modules/nixos/base/trash.nix @@ -56,6 +56,8 @@ in timerConfig = { OnCalendar = "daily"; RandomizedDelaySec = "15min"; + # run the skipped purge on the next boot if the host was off/suspended. + Persistent = true; }; }; }