diff --git a/nixos/dustbowl.nix b/nixos/dustbowl.nix index a79f331..4635f65 100644 --- a/nixos/dustbowl.nix +++ b/nixos/dustbowl.nix @@ -182,8 +182,7 @@ git-lfs bubblewrap openconnect - yubikey-personalization - yubico-pam + yubikey-manager nmap bind.dnsutils gdb @@ -488,10 +487,10 @@ ]; }; - # Yubikey PAM - security.pam.yubico = { - enable = true; - mode = "challenge-response"; + # Log in with Yubikey + security.pam.services = { + login.u2fAuth = true; + sudo.u2fAuth = true; }; # This value determines the NixOS release with which your system is to be