🔐 Security

Turned off login with Yubikey.

Show prompt in terminal when key is inserted
This commit is contained in:
Martin Berg Alstad 2024-12-29 15:53:21 +01:00
parent bd8a71e177
commit bdaa858bdf
Signed by: martials
GPG Key ID: A3824877B269F2E2

View File

@ -5,9 +5,18 @@
yubioath-flutter
];
security.pam.services = {
login.u2fAuth = true;
sudo.u2fAuth = true;
security.pam = {
services = {
login.u2fAuth = false; # U2F and password
sudo.u2fAuth = true; # U2F or password
};
u2f = {
enable = true;
settings = {
cue = true; # Prompt: Please touch the device
interactive = false; # Prompt: Insert your U2F device, then press ENTER.
};
};
};
services = {