mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-13 00:17:19 +00:00
ItsDrike
00016063fe
Originally, I was including all role configurations for all hosts, and controlling which get applied in the role configs with a check in each file. This is a very repetetive and annoying approach. Instead, now the role directory is included manually from the hosts config for devices which meet that role, removing the role options.
23 lines
436 B
Nix
23 lines
436 B
Nix
{
|
|
services.libinput = {
|
|
# enable libinput
|
|
enable = true;
|
|
|
|
# disable mouse acceleration
|
|
mouse = {
|
|
accelProfile = "flat";
|
|
accelSpeed = "0";
|
|
middleEmulation = false;
|
|
};
|
|
|
|
# touchpad settings
|
|
touchpad = {
|
|
naturalScrolling = false; # I'm not natural
|
|
tapping = true;
|
|
clickMethod = "clickfinger";
|
|
horizontalScrolling = true;
|
|
disableWhileTyping = true;
|
|
};
|
|
};
|
|
}
|