diff options
author | Kenny Ballou <kballou@devnulllabs.io> | 2020-06-30 21:01:27 -0600 |
---|---|---|
committer | Kenny Ballou <kballou@devnulllabs.io> | 2020-06-30 21:01:27 -0600 |
commit | ba16fb3ed1546e611b92873979d9c5f92bea904f (patch) | |
tree | d2d4d7d5baea31653b4615dcfe88c2eac8b900c9 /services | |
parent | 0cc7258734831a96c3b2f3f34b16f68a8e23e616 (diff) | |
download | cfg.nix-ba16fb3ed1546e611b92873979d9c5f92bea904f.tar.gz cfg.nix-ba16fb3ed1546e611b92873979d9c5f92bea904f.tar.xz |
x11-laptop: add libinput settings
Enable palm detection, set the acceleration profile. This isn't exactly
the right settings yet, but committing for now.
Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
Diffstat (limited to 'services')
-rw-r--r-- | services/x11-laptop.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/services/x11-laptop.nix b/services/x11-laptop.nix index d81a456..c59c11f 100644 --- a/services/x11-laptop.nix +++ b/services/x11-laptop.nix @@ -3,6 +3,9 @@ # Enable touchpad support. services.xserver.libinput = { enable = true; + accelProfile = "adaptive"; + accelSpeed = "0.1"; + disableWhileTyping = true; scrollMethod = "twofinger"; horizontalScrolling = false; }; |