🔐 Security
Turned off login with Yubikey. Show prompt in terminal when key is inserted
This commit is contained in:
parent
bd8a71e177
commit
bdaa858bdf
15
security.nix
15
security.nix
@ -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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user