about summary refs log tree commit diff
path: root/modules/trackpad.nix
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-12-03 08:57:55 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-12-03 08:57:55 +0100
commitae684af32dcb40a51153132fd5127d98d45d4b83 (patch)
tree495087128515048e3959c8177d5b480636141778 /modules/trackpad.nix
parentb3bd9ff5c9ad4cb7c785f5a56ce4d3f3208e23d7 (diff)
downloaddots-ae684af32dcb40a51153132fd5127d98d45d4b83.tar.gz
dots-ae684af32dcb40a51153132fd5127d98d45d4b83.zip
Update
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"'';
+  };
+}