about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--desktop.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop.nix b/desktop.nix
index 335e15d87d88..60b827cb6f6d 100644
--- a/desktop.nix
+++ b/desktop.nix
@@ -41,7 +41,8 @@ in {
 
   systemd.user.timers.feh-wp = {
     description = "Set a random wallpaper every hour";
-    wantedBy = [ "timers.target" ];
+    wantedBy = [ "graphical-session.target" ];
+    partOf = [ "graphical-session.target" ];
 
     timerConfig = {
       OnActiveSec = "3second";