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
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