mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-06 09:01:04 +01:00
cliphist: use configured systemdTargets throughout service (#6751)
Was running into issues with it not starting properly. This fixed my issue.
This commit is contained in:
parent
107352dde4
commit
66a6ec65f8
1 changed files with 4 additions and 2 deletions
|
|
@ -61,7 +61,8 @@ in {
|
||||||
systemd.user.services.cliphist = {
|
systemd.user.services.cliphist = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Clipboard management daemon";
|
Description = "Clipboard management daemon";
|
||||||
PartOf = [ "graphical-session.target" ];
|
PartOf = lib.toList cfg.systemdTargets;
|
||||||
|
After = lib.toList cfg.systemdTargets;
|
||||||
};
|
};
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
|
|
@ -77,7 +78,8 @@ in {
|
||||||
systemd.user.services.cliphist-images = lib.mkIf cfg.allowImages {
|
systemd.user.services.cliphist-images = lib.mkIf cfg.allowImages {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Clipboard management daemon - images";
|
Description = "Clipboard management daemon - images";
|
||||||
PartOf = [ "graphical-session.target" ];
|
PartOf = lib.toList cfg.systemdTargets;
|
||||||
|
After = lib.toList cfg.systemdTargets;
|
||||||
};
|
};
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue