I have a Thinkpad T480 I’ve been using for a while and recently discovered the wonder that is Nix/NixOS. Unfortunately the built-in fingerprint reader (device ID 06cb:009a) did not have linux driver support until recently with the python-validity package. Looking around, it does not appear that there is currently any nixpkgs support for python-validity.
Does anyone know if there is actually support somewhere for python-validity (or a different driver for 06cb:009a although AFAIK python-validity is the only one) within the nix community? If one doesn’t exist, is it a reasonable approach to try to install python-validity by pulling the .deb file and installing it via something similar to this post? Should I instead just pull the code and have the derivation build from source instead?
Yeah sadly the fingerprint reader in the T480 (06cb:009a) is not supported by fprint so if you just do services.fprintd.enable = true; and try to run fprint-enroll you just get “no devices available”. Python-validity solves this by providing an fprint driver for the device, however you also need a forked version of fprintd to make it work anyway.
Thanks for the links, they look very helpful I’ll have to take a look through them. I did not know about packing request issues on the github (although it makes perfect sense in retrospect). I might do that. Or maybe just submit a PR if I can get it working locally lol.
Here is the Flake I build to get this working (before using this, you have to follow the first setup based on open-fprintd and python-validity up to step 3 and register a fingerprint to check if it worked. If successful):