about summary refs log tree commit diff
path: root/modules/trackpad.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/trackpad.nix')
-rw-r--r--modules/trackpad.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/trackpad.nix b/modules/trackpad.nix
new file mode 100644
index 0000000..89e549a
--- /dev/null
+++ b/modules/trackpad.nix
@@ -0,0 +1,7 @@
+{
+  services.xserver.libinput = {
+    enable = true;
+    naturalScrolling = true;
+    additionalOptions = ''MatchIsTouchpad "on"'';
+  };
+}