This commit is contained in:
Alejandro Angulo 2023-03-26 08:32:05 -07:00
parent 561676b538
commit 20c315adca
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6

View file

@ -1,24 +0,0 @@
{
config,
pkgs,
...
}: {
environment.systemPackages = with pkgs; [
yubikey-manager
yubikey-agent
yubico-pam
];
services.pcscd.enable = true;
security.pam.yubico = {
enable = true;
#debug = true;
mode = "challenge-response";
# Uncomment below for 2FA
#control = "required";
};
# To set up, need to run (might need to run first command as root)
# ykman otp chalresp --touch --generate 2
# ykpamcfg -2 -v
}