diff options
author | Alan Pearce | 2017-09-09 19:33:26 +0200 |
---|---|---|
committer | Alan Pearce | 2017-09-09 19:33:26 +0200 |
commit | 9c28f332eb6719b5625f674ff0844ef614d11649 (patch) | |
tree | bf7cefb43edc08e400d128405eb6c6decd18a7a1 /modules | |
parent | d901c0e42094c806655b1ec2a250e657a54f9dfc (diff) | |
download | nixfiles-9c28f332eb6719b5625f674ff0844ef614d11649.tar.lz nixfiles-9c28f332eb6719b5625f674ff0844ef614d11649.tar.zst nixfiles-9c28f332eb6719b5625f674ff0844ef614d11649.zip |
Import synaptics configuration
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 00000000..0e9db17a --- /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" + ''; + }; +} |