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
|
@ -42,7 +42,7 @@ in {
|
||||||
"Adds communication between your desktop and your smartphone";
|
"Adds communication between your desktop and your smartphone";
|
||||||
After = [ "graphical-session-pre.target" ];
|
After = [ "graphical-session-pre.target" ];
|
||||||
PartOf = [ "graphical-session.target" ];
|
PartOf = [ "graphical-session.target" ];
|
||||||
} // lib.optionalAttrs cfg.indicator { Requires = [ "tray.target" ]; };
|
};
|
||||||
|
|
||||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||||
|
|
||||||
|
@ -70,6 +70,7 @@ in {
|
||||||
"stalonetray.service"
|
"stalonetray.service"
|
||||||
];
|
];
|
||||||
PartOf = [ "graphical-session.target" ];
|
PartOf = [ "graphical-session.target" ];
|
||||||
|
Requires = [ "tray.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||||
|
|
Loading…
Reference in a new issue