diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/synaptics.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/modules/synaptics.nix b/modules/synaptics.nix new file mode 100644 index 0000000..0e9db17 --- /dev/null +++ b/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" + ''; + }; +} |