diff --git a/hosts/lars/default.nix b/hosts/lars/default.nix index 74e0106..eda91a3 100644 --- a/hosts/lars/default.nix +++ b/hosts/lars/default.nix @@ -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"]; }