about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-18 09:29:49 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-18 09:30:39 -0800
commit4cc16153d73b4b02c6c0198da3b27730fd1a7b8c (patch)
treebd9ad0e5926ef693ffd5ed2ea5cf26a7d0e4417c
parentboot: reorganize and add comments (diff)
downloadworld-4cc16153d73b4b02c6c0198da3b27730fd1a7b8c.tar.gz
desktop: enable natural scrolling
-rw-r--r--hosts/common/desktop/xserver.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/hosts/common/desktop/xserver.nix b/hosts/common/desktop/xserver.nix
index d7cbcd8..a6c8eb4 100644
--- a/hosts/common/desktop/xserver.nix
+++ b/hosts/common/desktop/xserver.nix
@@ -20,8 +20,10 @@
   services.xserver = {
     enable = true;
     layout = "us";
-    libinput.enable = true;
-
+    libinput = {
+      enable = true;
+      naturalScrolling = true;
+    };
     displayManager = {
       gdm.enable = true;
       gdm.wayland = true;