nixdots/system/roles/laptop/touchpad.nix

23 lines
436 B
Nix
Raw Normal View History

2024-07-26 23:07:07 +00:00
{
services.libinput = {
# enable libinput
enable = true;
2024-04-13 18:56:51 +00:00
# disable mouse acceleration
mouse = {
accelProfile = "flat";
accelSpeed = "0";
middleEmulation = false;
};
2024-04-13 18:56:51 +00:00
# touchpad settings
touchpad = {
naturalScrolling = false; # I'm not natural
tapping = true;
clickMethod = "clickfinger";
horizontalScrolling = true;
disableWhileTyping = true;
2024-04-13 18:56:51 +00:00
};
};
}