From 56d4c66467f5c6ac60d62a98c4107d5b8a9a2f1f Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Sun, 25 Jul 2021 18:04:05 -0400 Subject: [PATCH] Disable middleEmulation --- modules/baseline.nix | 9 ++++++--- modules/gnome.nix | 1 - 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/baseline.nix b/modules/baseline.nix index be59784..8ba102a 100644 --- a/modules/baseline.nix +++ b/modules/baseline.nix @@ -40,9 +40,12 @@ cpu.intel.updateMicrocode = true; }; - services.xserver.deviceSection = '' - Option "VariableRefresh" "true" - ''; + services.xserver = { + libinput.mouse.middleEmulation = false; + deviceSection = '' + Option "VariableRefresh" "true" + ''; + }; services = { earlyoom.enable = true; diff --git a/modules/gnome.nix b/modules/gnome.nix index d101b9a..71e3c1c 100644 --- a/modules/gnome.nix +++ b/modules/gnome.nix @@ -39,7 +39,6 @@ in gsettings set org.gnome.desktop.media-handling automount false gsettings set org.gnome.desktop.media-handling autorun-never true gsettings set org.gnome.desktop.notifications show-in-lock-screen false - gsettings set org.gnome.desktop.peripherals.mouse middle-click-emulation true gsettings set org.gnome.desktop.privacy recent-files-max-age 30 gsettings set org.gnome.desktop.privacy remove-old-temp-files true gsettings set org.gnome.desktop.privacy remove-old-trash-files true