1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +01:00

kdeconnect: require "tray.target" for kdeconnect

Since kdeconnect-indicator is a tray application, it should require
"tray.target", as is the case for flameshot[0].

[0]: b1a5b3d6a5/modules/services/flameshot.nix (L58)
This commit is contained in:
Coutinho de Souza 2024-04-19 08:30:58 -03:00 committed by Robert Helgesson
parent 0184c8180f
commit dc906b197b
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -24,7 +24,6 @@ in {
default = false;
description = "Whether to enable kdeconnect-indicator service.";
};
};
};
@ -43,7 +42,7 @@ in {
"Adds communication between your desktop and your smartphone";
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
};
} // lib.optionalAttrs cfg.indicator { Requires = [ "tray.target" ]; };
Install = { WantedBy = [ "graphical-session.target" ]; };
@ -82,6 +81,5 @@ in {
};
};
})
];
}