flake/nixos/packages/graphical/display-server/input.nix

28 lines
558 B
Nix
Raw Normal View History

2023-09-19 00:17:43 +00:00
{ ... }:
{
2023-10-05 10:09:04 +00:00
services.xserver = {
2023-09-19 00:17:43 +00:00
libinput = {
enable = true;
touchpad = {
accelProfile = "flat";
naturalScrolling = true;
middleEmulation = false;
};
mouse = {
accelProfile = "flat";
naturalScrolling = true;
middleEmulation = false;
};
};
};
2023-10-15 00:51:56 +00:00
### Removes debounce time
2023-09-19 00:17:43 +00:00
# https://www.reddit.com/r/linux_gaming/comments/ku6gth
environment.etc."libinput/local-overrides.quirks".text = ''
[Never Debounce]
MatchUdevType=mouse
ModelBouncingKeys=1
'';
}