Skip to content

Configuration generation issue (libinput + haptic touchpad) #1881

@ak4nv

Description

@ak4nv

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions