nixfleet/modules/fprintd/default.nix
Andrea Ciceri 05af2601a0
[WIP] Many things:
- `gammastep`
- `sudo` with fingerprints that fallbacks to normal password and works
  with `swaylock`
2022-10-03 15:41:03 +02:00

12 lines
293 B
Nix

{pkgs, ...}: {
services.fprintd = {
enable = true;
};
security.polkit.enable = true; # TODO needed?
security.pam.services.swaylock.text = ''
auth sufficient pam_unix.so try_first_pass likeauth nullok
auth sufficient pam_fprintd.so
'';
}