I strongly suspect there’s no point in installing fprintd
with nix-env
, as all that really does is get the command into PATH
, which doesn’t actually help with unlocking your screen.
Furthermore, the NixOS module for it automatically adds it to environment.systemPackages
, so there’s no need to do that either.
Also, the text in parentheses in the quoted configuration snippet would cause parse errors if pasted directly. It seems like you meant only one of the tod.driver
lines to be included, but didn’t translate the text describing the conditions.
The directions can be boiled down to something like this:
Add this to your configuration.nix
if (whatever that means in the first parentheses)
services.fprintd.enable = true;
services.fprintd.tod.enable = true;
services.fprintd.tod.driver = pkgs.libfprint-2-tod1-vfs0090;
Add this to your configuration.nix
if (whatever that means in the second parentheses)
services.fprintd.enable = true;
services.fprintd.tod.enable = true;
services.fprintd.tod.driver = pkgs.libfprint-2-tod1-goodix;
(To be clear, I still don’t know if these directions actually work, as I haven’t tested them and don’t have the hardware to do so.)