From f8538ee351c17193ef6d3281ef416c809d1b40e6 Mon Sep 17 00:00:00 2001
From: Matthieu Coudron <886074+teto@users.noreply.github.com>
Date: Sun, 29 Oct 2023 12:20:03 +0100
Subject: [PATCH] services.flameshot: requested by tray.target

---
 modules/services/flameshot.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/services/flameshot.nix b/modules/services/flameshot.nix
index 0c2435aeb..4dd09315f 100644
--- a/modules/services/flameshot.nix
+++ b/modules/services/flameshot.nix
@@ -61,7 +61,7 @@ in {
         X-Restart-Triggers = mkIf (cfg.settings != { }) [ "${iniFile}" ];
       };
 
-      Install = { WantedBy = [ "graphical-session.target" ]; };
+      Install = { WantedBy = [ "tray.target" ]; };
 
       Service = {
         Environment = "PATH=${config.home.profileDirectory}/bin";