From df77855beb23fd4c74c4d6ae930dcd755b164416 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Mon, 12 Oct 2020 23:30:47 -0400 Subject: feat(gs/system): Setup for yubikey Install some packages and enable the necessary services + udev stuff to make yubikeys usable Change-Id: I8aee8a8b06895880c8195f02fb57b1216a5fdffc Reviewed-on: https://cl.tvl.fyi/c/depot/+/2049 Reviewed-by: glittershark Tested-by: BuildkiteCI --- users/glittershark/system/home/modules/common.nix | 2 ++ users/glittershark/system/system/modules/common.nix | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/users/glittershark/system/home/modules/common.nix b/users/glittershark/system/home/modules/common.nix index a26a62b5a3af..45ede2fad8a5 100644 --- a/users/glittershark/system/home/modules/common.nix +++ b/users/glittershark/system/home/modules/common.nix @@ -38,6 +38,8 @@ gnupg keybase openssl + yubikey-manager + yubikey-manager-qt # Nix things nixfmt diff --git a/users/glittershark/system/system/modules/common.nix b/users/glittershark/system/system/modules/common.nix index c3a339ef3b43..ee7c8fd5fe3a 100644 --- a/users/glittershark/system/system/modules/common.nix +++ b/users/glittershark/system/system/modules/common.nix @@ -97,4 +97,10 @@ with lib; options = "--delete-older-than 30d"; }; }; + + services.udev.packages = with pkgs; [ + yubikey-personalization + ]; + + services.pcscd.enable = true; } -- cgit 1.4.1