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
|
(mkIf
|
||||||
conf.yubikey.login
|
conf.yubikey.login
|
||||||
{
|
{
|
||||||
security.pam.services = {
|
security.pam.u2f = {
|
||||||
login.u2fAuth = true;
|
enable = true;
|
||||||
sudo.u2fAuth = true;
|
cue = true;
|
||||||
|
control = "required";
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue