mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
nixos/libinput: load configuration file
In order for libinput to be used with Xorg, its configuration file needs to be added to environment similarly to how evdev one’s is. Closes: #31670
This commit is contained in:
parent
d6d96c3274
commit
ed9dc1f187
@ -198,6 +198,13 @@ in {
|
||||
|
||||
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.xserver.config =
|
||||
|
Loading…
Reference in New Issue
Block a user