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

26 lines
555 B
Nix
Raw Normal View History

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