Summary Files Commits Branches @commit @diff @stats
path: root / modules / personal / hw-touchpad.nix
diff options
context:
space:
mode:
1 files changed, 11 insertions, 0 deletions
-rw-r--r--modules/personal/hw-touchpad.nix11
diff --git a/modules/personal/hw-touchpad.nix b/modules/personal/hw-touchpad.nix
new file mode 100644
index 0000000..20af569
--- /dev/null
+++ b/modules/personal/hw-touchpad.nix
@@ -0,0 +1,11 @@
+{ pkgs, ... }: {
+ environment.systemPackages = with pkgs; [
+ libinput
+ libinput-gestures
+ ];
+
+ services.libinput = {
+ enable = true;
+ touchpad.naturalScrolling = true;
+ };
+}