Simplify mouse acceleration setup
1 file changed, 5 insertions(+), 9 deletions(-)
changed files
M system/settings/hardware/mouse.nix → system/settings/hardware/mouse.nix
@@ -1,12 +1,8 @@ { config, pkgs, ... }: -{ services.xserver.config = '' - Section "InputClass" - Identifier "Mouse (No Acceleration)" - MatchIsPointer "yes" - MatchIsTouchpad "no" - Option "AccelerationProfile" "-1" - Option "AccelerationScheme" "none" - EndSection - ''; +{ + services.xserver.libinput = { + accelProfile = "flat"; + accelSpeed = "0"; + }; }