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
|
@ -24,7 +24,6 @@ in {
|
||||||
default = false;
|
default = false;
|
||||||
description = "Whether to enable kdeconnect-indicator service.";
|
description = "Whether to enable kdeconnect-indicator service.";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -43,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" ]; };
|
||||||
|
|
||||||
|
@ -82,6 +81,5 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue