diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2017-11-24 00:51:23 +0100 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2017-11-25 10:27:31 +0000 |
commit | c177b838dfc3bc9a7744fc8c49fc0833de6c8c40 (patch) | |
tree | 07afc3daaa9cc506e3111a808e80e8d6d22be599 /nixos/modules/services/x11 | |
parent | ed9dc1f18780621ad5d5498b9cd7caa5c71787b1 (diff) | |
download | nixlib-c177b838dfc3bc9a7744fc8c49fc0833de6c8c40.tar nixlib-c177b838dfc3bc9a7744fc8c49fc0833de6c8c40.tar.gz nixlib-c177b838dfc3bc9a7744fc8c49fc0833de6c8c40.tar.bz2 nixlib-c177b838dfc3bc9a7744fc8c49fc0833de6c8c40.tar.lz nixlib-c177b838dfc3bc9a7744fc8c49fc0833de6c8c40.tar.xz nixlib-c177b838dfc3bc9a7744fc8c49fc0833de6c8c40.tar.zst nixlib-c177b838dfc3bc9a7744fc8c49fc0833de6c8c40.zip |
nixos/xserver: let X choose the xkb rules
With libinput used for keyboard, base rules produce incorrect keyboard layouts. We are removing the option as recommended in the XKB configuration guide [1] to let X server choose the ruleset. It looks like it chooses evdev rules which seem to work for some reason [1]: https://www.x.org/releases/X11R7.6/doc/xorg-docs/input/XKB-Config.html#id2521360
Diffstat (limited to 'nixos/modules/services/x11')
-rw-r--r-- | nixos/modules/services/x11/xserver.nix | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/xserver.nix b/nixos/modules/services/x11/xserver.nix index 7d544e153e9a..1049f810ad2a 100644 --- a/nixos/modules/services/x11/xserver.nix +++ b/nixos/modules/services/x11/xserver.nix @@ -700,7 +700,6 @@ in Section "InputClass" Identifier "Keyboard catchall" MatchIsKeyboard "on" - Option "XkbRules" "base" Option "XkbModel" "${cfg.xkbModel}" Option "XkbLayout" "${cfg.layout}" Option "XkbOptions" "${cfg.xkbOptions}" |