system/machine: configure mouse and touchpad

This commit is contained in:
Dmitriy Pleshevskiy 2022-10-03 12:46:46 +03:00
parent 87c84e638f
commit e2d80e205e
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

@ -29,6 +29,16 @@ in
};
};
# Enable touchpad support (enabled default in most desktopManager).
services.xserver.libinput.enable = true;
services.xserver = {
libinput = {
enable = true;
mouse = {
accelSpeed = "1.0";
};
touchpad = {
accelSpeed = "1.0";
disableWhileTyping = true;
};
};
};
}