yubikey + password login
This commit is contained in:
parent
6f36d70cdf
commit
b40f1fc5fb
1 changed files with 4 additions and 3 deletions
|
@ -26,9 +26,10 @@ in
|
|||
(mkIf
|
||||
conf.yubikey.login
|
||||
{
|
||||
security.pam.services = {
|
||||
login.u2fAuth = true;
|
||||
sudo.u2fAuth = true;
|
||||
security.pam.u2f = {
|
||||
enable = true;
|
||||
cue = true;
|
||||
control = "required";
|
||||
};
|
||||
})
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue