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
1 changed files with 2 additions and 1 deletions

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" ]; };