diff --git a/cfg/winter/gui.nix b/cfg/winter/gui.nix index 8b8415e..e6f3894 100644 --- a/cfg/winter/gui.nix +++ b/cfg/winter/gui.nix @@ -34,16 +34,13 @@ ]; }; desktopManager.xterm.enable = false; - libinput.enable = true; - config = '' - Section "InputClass" - Identifier "mouse accel" - Driver "libinput" - MatchIsPointer "yes" - Option "AccelProfile" "flat" - Option "AccelSpeed" "0" - EndSection - ''; + libinput = { + enable = true; + mouse = { + accelSpeed = "0"; + accelProfile = "flat"; + }; + }; xkbOptions = "caps:swapescape"; windowManager.i3 = { enable = true;