nixos/systemd: remove duplicate definition of systemd.user.timers
It's already defined in `systemd/user.nix`.
This is a leftover from commit b6d50528dd
where all `systemd.user` settings were moved to `systemd/user.nix`.
This commit is contained in:
parent
3b396d7f8b
commit
63528cb1a6
|
@ -573,14 +573,6 @@ in
|
||||||
})
|
})
|
||||||
(filterAttrs (name: service: service.enable && service.startAt != []) cfg.services);
|
(filterAttrs (name: service: service.enable && service.startAt != []) cfg.services);
|
||||||
|
|
||||||
# Generate timer units for all services that have a ‘startAt’ value.
|
|
||||||
systemd.user.timers =
|
|
||||||
mapAttrs (name: service:
|
|
||||||
{ wantedBy = [ "timers.target" ];
|
|
||||||
timerConfig.OnCalendar = service.startAt;
|
|
||||||
})
|
|
||||||
(filterAttrs (name: service: service.startAt != []) cfg.user.services);
|
|
||||||
|
|
||||||
# Some overrides to upstream units.
|
# Some overrides to upstream units.
|
||||||
systemd.services."systemd-backlight@".restartIfChanged = false;
|
systemd.services."systemd-backlight@".restartIfChanged = false;
|
||||||
systemd.services."systemd-fsck@".restartIfChanged = false;
|
systemd.services."systemd-fsck@".restartIfChanged = false;
|
||||||
|
|
Loading…
Reference in a new issue