nix-config/configs/nixos/touchpad.nix

18 lines
318 B
Nix
Raw Normal View History

{
config,
pkgs,
...
}: {
services.libinput = {
# Enable touchpad support (enabled default in most desktopManager).
2024-04-05 01:44:59 +02:00
enable = true;
touchpad = {
disableWhileTyping = true;
naturalScrolling = true;
additionalOptions = ''
Option "PalmDetection" "True"
'';
};
2024-04-05 01:44:59 +02:00
};
}