1
Fork 0
satellite/hosts/nixos/common/optional/xorg/touchpad.nix
2023-12-10 23:48:46 +01:00

24 lines
474 B
Nix

# My touchpad configuration
{ ... }: {
imports = [ ./xserver.nix ];
services.xserver.libinput = {
enable = true;
touchpad = {
# How fast we should scroll I think
accelSpeed = "3.5";
# Inverts axis
naturalScrolling = true;
# Dsiable the touchpad while typing
disableWhileTyping = true;
# This is the most evil setting ever.
# I cannot imagine living with this on
tappingDragLock = false;
};
};
}