summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorYuxuan Shui <yshuiv7@gmail.com>2018-06-28 12:15:00 +0100
committerYuxuan Shui <yshuiv7@gmail.com>2018-06-28 12:15:00 +0100
commita8ff4a073fcb388b166efc613972668507b22637 (patch)
treeb2d3b4378b0b8ba4549fcdbb48a6916b92fdb73a /nixos/modules
parentba15c00e9869f2734ad9c8456f4ed778e69acf54 (diff)
downloadnixpkgs-a8ff4a073fcb388b166efc613972668507b22637.tar
nixpkgs-a8ff4a073fcb388b166efc613972668507b22637.tar.gz
nixpkgs-a8ff4a073fcb388b166efc613972668507b22637.tar.bz2
nixpkgs-a8ff4a073fcb388b166efc613972668507b22637.tar.lz
nixpkgs-a8ff4a073fcb388b166efc613972668507b22637.tar.xz
nixpkgs-a8ff4a073fcb388b166efc613972668507b22637.tar.zst
nixpkgs-a8ff4a073fcb388b166efc613972668507b22637.zip
nixos/libinput: add button to scrollMethod
Close #17840
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/x11/hardware/libinput.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/hardware/libinput.nix b/nixos/modules/services/x11/hardware/libinput.nix
index d0a87f183b6..072004d5dd9 100644
--- a/nixos/modules/services/x11/hardware/libinput.nix
+++ b/nixos/modules/services/x11/hardware/libinput.nix
@@ -116,7 +116,7 @@ in {
       };
 
       scrollMethod = mkOption {
-        type = types.enum [ "twofinger" "edge" "none" ];
+        type = types.enum [ "twofinger" "edge" "button" "none" ];
         default = "twofinger";
         example = "edge";
         description =