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:
parent
a204082274
commit
057117a401
1 changed files with 2 additions and 1 deletions
|
@ -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" ]; };
|
||||
|
|
Loading…
Reference in a new issue