1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-27 12:19:48 +01:00

kdeconnect: fix "tray.target" requires

The PR #5299[0] actually adds the requirement on "tray.target" for the
kdeconnect service, when kdeconnect-indicator is set to true. What it
should do is add the requirement directly to the latter. This commit
fixes it.

[0]: https://github.com/nix-community/home-manager/pull/5299#issue-2252834123
This commit is contained in:
Coutinho de Souza 2024-04-19 18:41:23 -03:00 committed by Robert Helgesson
parent a204082274
commit 057117a401
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -42,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" ]; };
@ -70,6 +70,7 @@ in {
"stalonetray.service"
];
PartOf = [ "graphical-session.target" ];
Requires = [ "tray.target" ];
};
Install = { WantedBy = [ "graphical-session.target" ]; };