summaryrefslogtreecommitdiff
path: root/system/fingerprint.nix
blob: 393c981d9ff73a7a4c810d16fbcf27e2622a93f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  lib,
  config,
  pkgs,
  ...
}: let
  inherit (lib) mkIf;
in {
  config = mkIf config.fingerprint {
    services.fprintd = {
      enable = true;
      tod.enable = true;
      tod.driver = pkgs.libfprint-2-tod1-goodix;
    };
  };
}