mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-15 21:12:04 +01:00
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.
This commit is contained in:
1 parent
3318103f8a
commit
a8ea040c32
1 file changed
+2
@@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user