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`.
main
Erik Arvstedt 2 years ago
parent 3b396d7f8b
commit 63528cb1a6
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
  1. 8
      nixos/modules/system/boot/systemd.nix

@ -573,14 +573,6 @@ in
})
(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.
systemd.services."systemd-backlight@".restartIfChanged = false;
systemd.services."systemd-fsck@".restartIfChanged = false;

Loading…
Cancel
Save