summary refs log tree commit diff stats
path: root/modules/synaptics.nix
blob: 0e9db17af0fc70a9bc39547526b2f1225fc7b8f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"
    '';
  };
}