diff --git a/nixos/common/desktops/plasma6/default.nix b/nixos/common/desktops/plasma6/default.nix index eddb6c82..f044f2c4 100644 --- a/nixos/common/desktops/plasma6/default.nix +++ b/nixos/common/desktops/plasma6/default.nix @@ -68,16 +68,21 @@ systemd.user.timers = { "get-theme-times" = { enable = true; - partOf = [ "get-theme-times.service" ]; - timerConfig.OnCalendar = ["*:40"]; - timerConfig.OnBootSec= [ "2 min" ]; + wantedBy = [ "default.target" ]; + timerConfig = { + Unit = "get-theme-times.service"; + OnCalendar = [ "*:00" ]; + OnBootSec = [ "2min" ]; + }; }; "set-theme" = { enable = true; - partOf = [ "set-theme.service" ]; - timerConfig.OnCalendar = [ "*:0..59" ]; - timerConfig.OnUnitActiveSec = "1min"; - timerConfig.OnBootSec= [ "3min" ]; + wantedBy = [ "default.target" ]; + timerConfig = { + Unit = "set-theme.service"; + OnCalendar = [ "*:0..59" ]; + OnBootSec = [ "3min" ]; + }; }; }; } \ No newline at end of file