nix-config/configs/nixos/touchpad.nix

16 lines
290 B
Nix
Raw Normal View History

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