I've had an issue with my touchpad (haptic) recently. It stopped working. I investigated and found the reason: the last libinput update. According their docs:
ModelPressurePad
Warning
This quirk is no longer in use. Use AttrInputProp=+INPUT_PROP_PRESSUREPAD instead.
I just replaced this string in my configuration.nix and it fixed the touchpad. Also I found that this piece of configuration was generated by nixos-generate-config when I installed NixOS on my laptop (booted from iso-image version 25.11).
environment.etc."libinput/local-overrides.quirks".text = ''
[Lenovo ThinkBook GXTP5100 Touchpad]
MatchName=*GXTP5100*
ModelPressurePad=1
'';
And I expected to see something like this from the current one:
environment.etc."libinput/local-overrides.quirks".text = ''
[Lenovo ThinkBook GXTP5100 Touchpad]
MatchName=*GXTP5100*
AttrInputProp=+INPUT_PROP_PRESSUREPAD
'';
But I see nothing:
~ $ nixos-generate-config --show-hardware-config | grep -A4 environment
~ $
hw info: Lenovo Thinkbook 14 G7+ ASP
I've had an issue with my touchpad (haptic) recently. It stopped working. I investigated and found the reason: the last libinput update. According their docs:
I just replaced this string in my configuration.nix and it fixed the touchpad. Also I found that this piece of configuration was generated by
nixos-generate-configwhen I installed NixOS on my laptop (booted from iso-image version 25.11).And I expected to see something like this from the current one:
But I see nothing:
hw info: Lenovo Thinkbook 14 G7+ ASP