mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
Co-authored-by: Alexander Khodyrev <a@akho.name>
This commit is contained in:
@@ -59,11 +59,16 @@ in {
|
||||
];
|
||||
|
||||
systemd.user.services.xcape = {
|
||||
Unit = {
|
||||
Description = "xcape";
|
||||
After = [ "graphical-session-pre.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
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";
|
||||
|
||||
Reference in New Issue
Block a user