system/machine: configure mouse and touchpad
This commit is contained in:
parent
87c84e638f
commit
e2d80e205e
1 changed files with 12 additions and 2 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue