1
0
Fork 0

Fingerprint support

This commit is contained in:
Aires 2024-03-22 18:29:12 -04:00
parent eb63e62025
commit e3dc1908af
4 changed files with 24 additions and 0 deletions

View file

@ -20,6 +20,7 @@
office.enable = true;
pandoc.enable = true;
};
services.fprintd.enable = true;
ui = {
flatpak.enable = true;
gnome.enable = true;

View file

@ -36,6 +36,7 @@ in
pandoc.enable = true;
recording.enable = true;
};
services.fprintd.enable = true;
ui = {
flatpak.enable = true;
gnome.enable = true;

View file

@ -2,6 +2,7 @@
imports = [
./apcupsd.nix
./duplicacy-web.nix
./fprintd.nix
./k3s.nix
./msmtp.nix
];

View file

@ -0,0 +1,21 @@
{ pkgs, config, lib, ... }:
let
cfg = config.host.services.fprintd;
in
with lib;
{
options = {
host.services.fprintd.enable = mkEnableOption (mdDoc "Enables fingerprint recognition");
};
config = mkIf cfg.enable {
nixpkgs.config.allowUnfree = true;
services.fprintd = {
enable = true;
tod = {
enable = true;
driver = pkgs.libfprint-2-tod1-elan;
};
};
};
}