# How to use fingerprint unlocking - How to set up Fprintd (English)

**URL:** https://discourse.nixosstag.fcio.net/t/how-to-use-fingerprint-unlocking-how-to-set-up-fprintd-english/21901
**Category:** Guides
**Created:** [September 22, 2022, 2:11pm UTC](https://discourse.nixosstag.fcio.net/t/how-to-use-fingerprint-unlocking-how-to-set-up-fprintd-english/21901 "2022-09-22T14:11:57Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![tejing](https://discourse.nixosstag.fcio.net/user_avatar/discourse.nixosstag.fcio.net/tejing/32/4566_2.png) [@tejing](https://discourse.nixosstag.fcio.net/u/tejing)
#### Post date: [September 22, 2022, 4:43pm UTC](https://discourse.nixosstag.fcio.net/t/how-to-use-fingerprint-unlocking-how-to-set-up-fprintd-english/21901/2 "2022-09-22T16:43:38Z")

</div>

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)

```auto
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)

```auto
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.)

---

_[View the full topic](https://discourse.nixosstag.fcio.net/t/how-to-use-fingerprint-unlocking-how-to-set-up-fprintd-english/21901)._
