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:
parent
a2e55b93ad
commit
ed46b99315
|
@ -10,4 +10,9 @@ with lib;
|
|||
|
||||
hardware.enableAllFirmware = true;
|
||||
services.tlp.enable = true;
|
||||
|
||||
services.xserver = {
|
||||
synaptics.enable = false;
|
||||
libinput.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue