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
|
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue