mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
Co-authored-by: Alexander Khodyrev <a@akho.name>
This commit is contained in:
parent
d7e089699a
commit
fa483b82ab
1 changed files with 10 additions and 5 deletions
|
@ -59,11 +59,16 @@ in {
|
|||
];
|
||||
|
||||
systemd.user.services.xcape = {
|
||||
Unit = {
|
||||
Unit = mkMerge [
|
||||
{
|
||||
Description = "xcape";
|
||||
After = [ "graphical-session-pre.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
}
|
||||
(mkIf (config.home.keyboard != null && config.home.keyboard != { }) {
|
||||
After = [ "graphical-session-pre.target" "setxkbmap.service" ];
|
||||
})
|
||||
];
|
||||
|
||||
Service = {
|
||||
Type = "forking";
|
||||
|
|
Loading…
Reference in a new issue