From ba20ee65f61664431c4d1f3b6d2ea9d6739fb6e9 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 5 Feb 2020 23:03:47 +0000 Subject: feat(ops/nixos/nugget): Enable pcscd & install Yubikey tools --- ops/nixos/nugget/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ops/nixos/nugget/default.nix b/ops/nixos/nugget/default.nix index d4b5b6f7e6d6..8e7c653c4b4b 100644 --- a/ops/nixos/nugget/default.nix +++ b/ops/nixos/nugget/default.nix @@ -130,6 +130,8 @@ in pkgs.lib.fix(self: { unzip vlc xclip + yubico-piv-tool + yubikey-personalization ]); fileSystems = { @@ -183,6 +185,12 @@ in pkgs.lib.fix(self: { services.openssh.enable = true; services.keybase.enable = true; + # Required for Yubikey usage as smartcard + services.pcscd.enable = true; + services.udev.packages = [ + nixpkgs.yubikey-personalization + ]; + services.xserver = { enable = true; layout = "us"; -- cgit 1.4.1