nix-config/nixos/_mixins/services/yubikey.nix
2024-05-23 15:02:20 -04:00

8 lines
111 B
Nix

_:
{
# enables Yubikey
security.pam.services = {
login.u2fAuth = true;
sudo.u2fAuth = true;
};
}