nixos/services/fprintd.nix

17 lines
283 B
Nix

{
config,
lib,
...
}:
with lib;
mkIf (elem "fprintd" config.machine.services) {
services.fprintd = {
enable = true;
};
# Do not allow login/unlock with fingerprint
security.pam.services = {
"login".fprintAuth = false;
"swaylock".fprintAuth = false;
};
}