Merge pull request #31995 from jtojnar/xserver-libinput
Use libinput for all input devices when enabled
This commit is contained in:
commit
6d9ad27103
@ -198,6 +198,13 @@ in {
|
|||||||
|
|
||||||
environment.systemPackages = [ pkgs.xorg.xf86inputlibinput ];
|
environment.systemPackages = [ pkgs.xorg.xf86inputlibinput ];
|
||||||
|
|
||||||
|
environment.etc = [
|
||||||
|
(let cfgPath = "X11/xorg.conf.d/40-libinput.conf"; in {
|
||||||
|
source = pkgs.xorg.xf86inputlibinput.out + "/share/" + cfgPath;
|
||||||
|
target = cfgPath;
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
services.udev.packages = [ pkgs.libinput ];
|
services.udev.packages = [ pkgs.libinput ];
|
||||||
|
|
||||||
services.xserver.config =
|
services.xserver.config =
|
||||||
|
@ -700,7 +700,6 @@ in
|
|||||||
Section "InputClass"
|
Section "InputClass"
|
||||||
Identifier "Keyboard catchall"
|
Identifier "Keyboard catchall"
|
||||||
MatchIsKeyboard "on"
|
MatchIsKeyboard "on"
|
||||||
Option "XkbRules" "base"
|
|
||||||
Option "XkbModel" "${cfg.xkbModel}"
|
Option "XkbModel" "${cfg.xkbModel}"
|
||||||
Option "XkbLayout" "${cfg.layout}"
|
Option "XkbLayout" "${cfg.layout}"
|
||||||
Option "XkbOptions" "${cfg.xkbOptions}"
|
Option "XkbOptions" "${cfg.xkbOptions}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user