From b548be1a591b16b1d7d205f0fcd00064099d0811 Mon Sep 17 00:00:00 2001 From: Christian Harke Date: Sun, 29 Sep 2024 00:47:04 +0200 Subject: [PATCH] Fix deprecation warning regarding libinput --- nixos/roles/desktop/mobile/default.nix | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/nixos/roles/desktop/mobile/default.nix b/nixos/roles/desktop/mobile/default.nix index 592ad568..a2d5a88d 100644 --- a/nixos/roles/desktop/mobile/default.nix +++ b/nixos/roles/desktop/mobile/default.nix @@ -27,15 +27,13 @@ in tlp.enable = true; upower.enable = true; - xserver = { - # Touchpad settings - libinput = { - enable = true; - touchpad = { - naturalScrolling = true; - disableWhileTyping = true; - sendEventsMode = "disabled-on-external-mouse"; - }; + # Touchpad settings + libinput = { + enable = true; + touchpad = { + naturalScrolling = true; + disableWhileTyping = true; + sendEventsMode = "disabled-on-external-mouse"; }; }; };