dotfiles/nixos-modules/desktop/security.nix
Fabian Hauser e02d86dffd
All checks were successful
CI / build (push) Successful in 2m9s
Update and clean up modules
2025-03-03 23:46:19 +02:00

15 lines
266 B
Nix

{
config,
lib,
...
}:
{
services.pcscd.enable = true;
# Make pam accept both password and fingerprint
security.pam.services.swaylock.rules.auth = lib.mkIf config.services.fprintd.enable {
fprintd.order = 11601;
unix.args = [ "nullok" ];
};
}