From 845d4b366492ef22f96044737ec8d26e8a310966 Mon Sep 17 00:00:00 2001 From: iFargle Date: Fri, 5 Jan 2024 20:48:33 +0900 Subject: [PATCH] Test --- nixos/common/desktops/plasma6/default.nix | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) 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