mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +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:
parent
a2e55b93ad
commit
ed46b99315
4 changed files with 5 additions and 12 deletions
|
@ -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