all repos — nixfiles @ 9c28f332eb6719b5625f674ff0844ef614d11649

System and user configuration, managed by nix and home-manager

Import synaptics configuration
Alan Pearce alan@alanpearce.eu
Sat, 09 Sep 2017 19:33:26 +0200
commit

9c28f332eb6719b5625f674ff0844ef614d11649

parent

d901c0e42094c806655b1ec2a250e657a54f9dfc

1 files changed, 24 insertions(+), 0 deletions(-)

jump to
A modules/synaptics.nix
@@ -0,0 +1,24 @@+{ config, pkgs, ... }:
+
+{ services.xserver.synaptics = {
+    enable = true;
+
+    accelFactor = "0.001";
+
+    minSpeed = "0.4";
+    maxSpeed = "2.0";
+
+    palmDetect = true;
+    palmMinWidth = 5;
+    palmMinZ = 20;
+
+    twoFingerScroll = true;
+    vertTwoFingerScroll = true;
+    horizTwoFingerScroll = true;
+    additionalOptions = ''
+      Option "RBCornerButton" "3"
+      Option "VertScrollDelta" "-111"
+      Option "HorizScrollDelta" "-111"
+    '';
+  };
+}