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