diff --git a/nixos/modules/services/x11/hardware/libinput.nix b/nixos/modules/services/x11/hardware/libinput.nix index 9548ecb8ef6..48543d15499 100644 --- a/nixos/modules/services/x11/hardware/libinput.nix +++ b/nixos/modules/services/x11/hardware/libinput.nix @@ -219,6 +219,7 @@ in { Section "InputClass" Identifier "libinputConfiguration" MatchDriver "libinput" + MatchTag "Touchpad" ${optionalString (cfg.dev != null) ''MatchDevicePath "${cfg.dev}"''} Option "AccelProfile" "${cfg.accelProfile}" ${optionalString (cfg.accelSpeed != null) ''Option "AccelSpeed" "${cfg.accelSpeed}"''}