1
Fork 0
satellite/hosts/nixos/common/optional/xorg/touchpad.nix

24 lines
474 B
Nix
Raw Normal View History

2023-01-10 02:38:06 +01:00
# My touchpad configuration
{ ... }: {
2023-12-02 00:46:56 +01:00
imports = [ ./xserver.nix ];
2023-01-10 02:38:06 +01:00
services.xserver.libinput = {
enable = true;
touchpad = {
# How fast we should scroll I think
accelSpeed = "3.5";
2023-05-24 03:17:09 +02:00
# Inverts axis
2023-01-10 02:38:06 +01:00
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;
};
};
}