From 6ed5521636c7b40b800a014f26f0eaaa210c2e30 Mon Sep 17 00:00:00 2001 From: kurogeek Date: Mon, 5 Aug 2024 15:11:30 +0700 Subject: [PATCH] thinkpad-t14-gen1: add a kernel param for touchpad to work properly --- lenovo/thinkpad/t14/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lenovo/thinkpad/t14/default.nix b/lenovo/thinkpad/t14/default.nix index 3466e95..b6fd228 100644 --- a/lenovo/thinkpad/t14/default.nix +++ b/lenovo/thinkpad/t14/default.nix @@ -14,7 +14,11 @@ # Force use of the thinkpad_acpi driver for backlight control. # This allows the backlight save/load systemd service to work. - boot.kernelParams = [ "acpi_backlight=native" ]; + boot.kernelParams = [ + "acpi_backlight=native" + # Needed for touchpad to work properly (click doesn't register by pushing down the touchpad). + "psmouse.synaptics_intertouch=0" + ]; # see https://github.com/NixOS/nixpkgs/issues/69289 boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.2") pkgs.linuxPackages_latest;