Rename deprecated libinput options

This commit is contained in:
ItsDrike 2024-06-10 19:28:10 +02:00
parent fa6784b24f
commit 63113f0fd6
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -4,7 +4,7 @@
acceptedTypes = ["laptop"]; acceptedTypes = ["laptop"];
in { in {
config = mkIf (builtins.elem deviceType acceptedTypes) { config = mkIf (builtins.elem deviceType acceptedTypes) {
services.xserver.libinput = { services.libinput = {
# enable libinput # enable libinput
enable = true; enable = true;
@ -17,7 +17,7 @@ in {
# touchpad settings # touchpad settings
touchpad = { touchpad = {
naturalScrolling = false; # I'm weird like that naturalScrolling = false; # I'm not natural
tapping = true; tapping = true;
clickMethod = "clickfinger"; clickMethod = "clickfinger";
horizontalScrolling = true; horizontalScrolling = true;