From 720164497d5f0845755bf7c548437268d516b83b Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Fri, 27 Dec 2024 20:53:43 -0500 Subject: [PATCH] More attempts to fix gpg decrypt with yubikey. --- nix/configuration/roles/gpg/default.nix | 5 +++++ nix/configuration/roles/gpg/files/scdaemon.conf | 1 + 2 files changed, 6 insertions(+) diff --git a/nix/configuration/roles/gpg/default.nix b/nix/configuration/roles/gpg/default.nix index c6e07cd..515deae 100644 --- a/nix/configuration/roles/gpg/default.nix +++ b/nix/configuration/roles/gpg/default.nix @@ -35,6 +35,7 @@ }; }; + programs.gnupg.dirmngr.enable = true; programs.gnupg.agent = { enable = true; enableSSHSupport = true; @@ -83,4 +84,8 @@ # }); # ''; + environment.systemPackages = with pkgs; [ + pcsctools + ]; + } diff --git a/nix/configuration/roles/gpg/files/scdaemon.conf b/nix/configuration/roles/gpg/files/scdaemon.conf index eb818dd..b336abf 100644 --- a/nix/configuration/roles/gpg/files/scdaemon.conf +++ b/nix/configuration/roles/gpg/files/scdaemon.conf @@ -1 +1,2 @@ +reader-port Yubico Yubi disable-ccid