From 533c3dabab62d23bcbcf924c3242e92945e31020 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 10 Jun 2024 00:14:28 +0300 Subject: chore(tazjin/arbat): some more attempted fixes * Try to convince libinput (seemingly futile) to change the trackpad behaviour. * Make XFCE available to debug the EXWM hangs on this CPU. Change-Id: Iff7189127c849beaf7ded3927abd14b90cf6b9fc Reviewed-on: https://cl.tvl.fyi/c/depot/+/11775 Reviewed-by: tazjin Tested-by: BuildkiteCI Autosubmit: tazjin --- users/tazjin/nixos/arbat/default.nix | 6 ++++++ users/tazjin/nixos/modules/desktop.nix | 1 + 2 files changed, 7 insertions(+) (limited to 'users') diff --git a/users/tazjin/nixos/arbat/default.nix b/users/tazjin/nixos/arbat/default.nix index 924fb468aff8..73bed4573ac1 100644 --- a/users/tazjin/nixos/arbat/default.nix +++ b/users/tazjin/nixos/arbat/default.nix @@ -60,6 +60,12 @@ in }; # TODO(tazjin): decide on this + services.libinput = { + enable = true; + # libinput thinks the touchpad is a mouse + mouse.naturalScrolling = false; + mouse.disableWhileTyping = true; + }; # services.xserver.libinput.touchpad.clickMethod = "clickfinger"; # services.xserver.libinput.touchpad.tapping = false; diff --git a/users/tazjin/nixos/modules/desktop.nix b/users/tazjin/nixos/modules/desktop.nix index 4dd25db641e1..296960a44345 100644 --- a/users/tazjin/nixos/modules/desktop.nix +++ b/users/tazjin/nixos/modules/desktop.nix @@ -30,6 +30,7 @@ name = "exwm"; start = "${config.tazjin.emacs}/bin/tazjins-emacs --internal-border=0 --border-width=0"; }; + desktopManager.xfce.enable = true; }; }; -- cgit 1.4.1