1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-27 12:09:45 +01:00

Use libinput as touchpad driver

The recommended driver is libinput, furthermore
the packaging of synaptics is officially deprecated in NixOS:
9d2777a5a5
This commit is contained in:
Maximilian Bosch 2017-09-03 23:31:08 +02:00
parent a2e55b93ad
commit ed46b99315
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E
4 changed files with 5 additions and 12 deletions

View file

@ -10,4 +10,9 @@ with lib;
hardware.enableAllFirmware = true;
services.tlp.enable = true;
services.xserver = {
synaptics.enable = false;
libinput.enable = true;
};
}

View file

@ -37,11 +37,4 @@
# Aspect Ratio: 16 × 9 (1.78:1)
# Pixel Count: 3,686,400
# Megapixels: 3.69MP
# Use libinput to let the physical middle button be used to scroll
# with the trackpoint
services.xserver = {
libinput.enable = true;
synaptics.enable = false;
};
}

View file

@ -14,9 +14,6 @@
# hard disk protection if the laptop falls
services.hdapsd.enable = true;
# alternatively, touchpad with two-finger scrolling
#services.xserver.libinput.enable = true;
# enable volume control buttons
sound.enableMediaKeys = true;

View file

@ -5,6 +5,4 @@
# modesetting driver leads to freezes with newer kernel at the moment (> 4.4)
services.xserver.videoDrivers = [ "intel" ];
services.xserver.libinput.enable = true;
}