Merge pull request #229138 from exzombie/fix/fstrim-interval
nixos/fstrim: fix overriding the timer interval
This commit is contained in:
@@ -34,7 +34,7 @@ in {
|
|||||||
|
|
||||||
systemd.timers.fstrim = {
|
systemd.timers.fstrim = {
|
||||||
timerConfig = {
|
timerConfig = {
|
||||||
OnCalendar = cfg.interval;
|
OnCalendar = [ "" cfg.interval ];
|
||||||
};
|
};
|
||||||
wantedBy = [ "timers.target" ];
|
wantedBy = [ "timers.target" ];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user