From 63528cb1a6183fceb4f18ca1b74617eca8dd67a1 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Mon, 11 Apr 2022 13:01:40 +0200 Subject: [PATCH] nixos/systemd: remove duplicate definition of `systemd.user.timers` It's already defined in `systemd/user.nix`. This is a leftover from commit b6d50528dd0af3ddbcd333402473589f3897d278 where all `systemd.user` settings were moved to `systemd/user.nix`. --- nixos/modules/system/boot/systemd.nix | 8 -------- 1 file changed, 8 deletions(-) diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index 844a6793c15..2c9ee9fc319 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/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;