From 374bd891de80b2d3281028c382ac680223aeaf1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Mon, 31 Oct 2022 20:08:38 +0000 Subject: [PATCH] unmap middle button on foureighty as it's broken --- nixos/boxes/foureighty/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/nixos/boxes/foureighty/default.nix b/nixos/boxes/foureighty/default.nix index 84673adb..7b2a9d68 100644 --- a/nixos/boxes/foureighty/default.nix +++ b/nixos/boxes/foureighty/default.nix @@ -42,12 +42,17 @@ services.xserver = { libinput = { - enable = lib.mkForce false; + enable = true; touchpad = { - tapping = false; - clickMethod = "none"; + tapping = true; naturalScrolling = false; + middleEmulation = false; disableWhileTyping = true; + buttonMapping = "1 0 3 4 5 6 7 8 9 10"; + }; + mouse = { + middleEmulation = false; + buttonMapping = "1 0 3 4 5 6 7 8 9 10"; }; };