dustbowl: use pam u2f instead of yubikey for login with yubikey
This commit is contained in:
parent
039cbc5543
commit
755a390bdb
1 changed files with 5 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue