mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
Merge pull request #229388 from NixOS/backport-229138-to-release-22.11
[Backport release-22.11] nixos/fstrim: fix overriding the timer interval
This commit is contained in:
@@ -34,7 +34,7 @@ in {
|
||||
|
||||
systemd.timers.fstrim = {
|
||||
timerConfig = {
|
||||
OnCalendar = cfg.interval;
|
||||
OnCalendar = [ "" cfg.interval ];
|
||||
};
|
||||
wantedBy = [ "timers.target" ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user