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