nixos/xserver: export configuration with startx and extra layouts
If the X server is run manually it must be started with an `-xkbdir` argument pointing to the custom xkb directory. So we export it to /etc/X11/xkb.
This commit is contained in:
parent
3b5b9a73f5
commit
e57c0f3bf9
@ -158,7 +158,10 @@ in
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
services.xserver.xkbDir = "${pkgs.xkb_patched}/etc/X11/xkb";
|
services.xserver = {
|
||||||
|
xkbDir = "${pkgs.xkb_patched}/etc/X11/xkb";
|
||||||
|
exportConfiguration = config.services.xserver.displayManager.startx.enable;
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user