steveej-laptop: change scrolling and touchpad behavior

This commit is contained in:
steveej 2016-03-27 21:43:29 +02:00
parent 80c42c7e45
commit baccf4b0ce
2 changed files with 8 additions and 0 deletions

View file

@ -8,6 +8,7 @@
nix.buildCores = 4;
hardware.enableAllFirmware = true;
hardware.trackpoint.emulateWheel = true;
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "sd_mod" ];
boot.kernelModules = [ "kvm-intel" ];

View file

@ -87,6 +87,12 @@
services.printing.enable = true; # uses cups
services.xserver = {
synaptics.enable = true;
synaptics.palmDetect = true;
synaptics.horizEdgeScroll = true;
synaptics.horizontalScroll = true;
synaptics.twoFingerScroll = true;
synaptics.vertEdgeScroll = true;
videoDrivers = [ "qxl" "intel" ];
enable = true;
layout = "us";
@ -137,4 +143,5 @@
virtualisation.libvirtd.enable = true;
virtualisation.virtualbox.host.enable = true;
virtualisation.virtualbox.host.addNetworkInterface = true;
}