Merge pull request #229138 from exzombie/fix/fstrim-interval

nixos/fstrim: fix overriding the timer interval
This commit is contained in:
Nick Cao 2023-05-01 17:23:36 +08:00 committed by GitHub
commit cb6c1de07d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ in {
systemd.timers.fstrim = {
timerConfig = {
OnCalendar = cfg.interval;
OnCalendar = [ "" cfg.interval ];
};
wantedBy = [ "timers.target" ];
};