1
0

configuration/gpg-ssh: Custom gnupg without builtin ccid driver in scdaemon

This commit is contained in:
clerie 2024-10-22 18:01:37 +02:00
parent 09f54a05ee
commit 5d45d3aac1
Signed by: clerie
GPG Key ID: BD9F56480870BAD2

View File

@ -1,7 +1,17 @@
{ pkgs, lib, ... }:
{
let
custom_gnupg = pkgs.gnupg.overrideAttrs (final: prev: {
configureFlags = prev.configureFlags ++ [
# Make sure scdaemon never ever again tries to use its own ccid driver
"--disable-ccid-driver"
];
});
in {
programs.gnupg.package = custom_gnupg;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
@ -9,7 +19,7 @@
};
environment.systemPackages = with pkgs; [
gnupg
custom_gnupg
yubikey-personalization
openpgp-card-tools