dustbowl: use pam u2f instead of yubikey for login with yubikey

This commit is contained in:
joachimschmidt557 2026-01-25 18:39:36 +01:00
parent 039cbc5543
commit 755a390bdb
Signed by: joachim
GPG key ID: 81315941B6572C70

View file

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