From 20c315adca1685f3bfea98c358175de07845a474 Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sun, 26 Mar 2023 08:32:05 -0700 Subject: [PATCH] Cleanup --- common/yubikey.nix | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 common/yubikey.nix diff --git a/common/yubikey.nix b/common/yubikey.nix deleted file mode 100644 index 021d3f9..0000000 --- a/common/yubikey.nix +++ /dev/null @@ -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 -}