Added yubikey auth
This commit is contained in:
parent
2465d9ca29
commit
3e676dea9f
1 changed files with 8 additions and 5 deletions
|
@ -120,17 +120,20 @@
|
|||
services = {
|
||||
twingate.enable = true;
|
||||
pcscd.enable = true;
|
||||
# pam.yubico = { # login
|
||||
# enable = true;
|
||||
# mode = "challenge-response";
|
||||
# id = [ "18067815" ];
|
||||
# };
|
||||
};
|
||||
|
||||
# SSH AGENT
|
||||
programs.ssh.startAgent = true;
|
||||
services.gnome3.gnome-keyring.enable = false;
|
||||
|
||||
# Security PAM with yubico key
|
||||
security.pam.yubico = {
|
||||
enable = true;
|
||||
debug = false;
|
||||
mode = "challenge-response";
|
||||
id = [ "26292316" ];
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue