Compare commits

...

1 commit

Author SHA1 Message Date
Fabian Montero 6565c75062
add u2f support 2024-09-17 22:15:23 -06:00

View file

@ -18,15 +18,17 @@
enableSSHSupport = true; enableSSHSupport = true;
}; };
security.pam.services = { security.pam = {
login.u2fAuth = true; services = {
sudo.u2fAuth = true; login.u2fAuth = true;
}; sudo.u2fAuth = true;
};
security.pam.yubico = { u2f = {
enable = true; enable = true;
debug = false; debug = true;
mode = "challenge-response"; cue = true;
id = ["27677315"]; control = "sufficient";
};
}; };
} }