mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 06:30:28 +00:00
kdeconnect: require "tray.target" for kdeconnect
Since kdeconnect-indicator is a tray application, it should require
"tray.target", as is the case for flameshot[0].
[0]: b1a5b3d6a5/modules/services/flameshot.nix (L58)
This commit is contained in:
parent
0184c8180f
commit
dc906b197b
1 changed files with 1 additions and 3 deletions
|
@ -24,7 +24,6 @@ in {
|
|||
default = false;
|
||||
description = "Whether to enable kdeconnect-indicator service.";
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -43,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" ]; };
|
||||
|
||||
|
@ -82,6 +81,5 @@ in {
|
|||
};
|
||||
};
|
||||
})
|
||||
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue