about summary refs log tree commit diff
path: root/users/tazjin
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2024-06-09T21·14+0300
committerclbot <clbot@tvl.fyi>2024-06-10T07·48+0000
commit533c3dabab62d23bcbcf924c3242e92945e31020 (patch)
treeec6fb3768733c2b0d5ab721fd229ccfb81ec21c7 /users/tazjin
parent8cdce696eb81beb733b27457b06da506554f5f1e (diff)
chore(tazjin/arbat): some more attempted fixes r/8237
* 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 <tazjin@tvl.su>
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Diffstat (limited to 'users/tazjin')
-rw-r--r--users/tazjin/nixos/arbat/default.nix6
-rw-r--r--users/tazjin/nixos/modules/desktop.nix1
2 files changed, 7 insertions, 0 deletions
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;
     };
   };