From fa18943dbfa8a7f7e76b6a6c0edfa69c8dcfde3f Mon Sep 17 00:00:00 2001 From: ama Date: Mon, 30 Dec 2024 15:29:58 +0800 Subject: [PATCH] change touchpad setting --- system/hardware/libinput.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 system/hardware/libinput.nix diff --git a/system/hardware/libinput.nix b/system/hardware/libinput.nix new file mode 100644 index 0000000..5afa7f4 --- /dev/null +++ b/system/hardware/libinput.nix @@ -0,0 +1,10 @@ +{ pkgs, ... }: + +{ + services.libinput = { + enable = true; + mouse.naturalScrolling = true; + touchpad.naturalScrolling = true; + }; + environment.systemPackages = [ pkgs.libinput ]; +}