about summary refs log tree commit diff
diff options
context:
space:
mode:
-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;
     };
   };