yubikey + password login

This commit is contained in:
twoneis 2025-03-07 12:04:51 +01:00
parent 6f36d70cdf
commit b40f1fc5fb

View file

@ -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";
}; };
}) })
] ]