From 76a22ed59e3b0de7f9752705934496ff4f5968a1 Mon Sep 17 00:00:00 2001 From: Jarkko Toivanen Date: Thu, 20 Apr 2023 20:05:37 +0300 Subject: [PATCH] Mouse Acceleration :puke: --- nixos/desktop/configuration.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/nixos/desktop/configuration.nix b/nixos/desktop/configuration.nix index e118eef..6a99a6f 100644 --- a/nixos/desktop/configuration.nix +++ b/nixos/desktop/configuration.nix @@ -82,7 +82,16 @@ enable = true; layout = "fi"; xkbVariant = "nodeadkeys"; - libinput.enable = true; + libinput = { + enable = true; + mouse = { + accelProfile = "flat"; + accelSpeed = ".5"; # -1..1 + }; + touchpad = { + accelProfile = "flat"; + }; + }; deviceSection = '' Option "VariableRefresh" "True" '';