Add explicit pcscd reader.conf configuration for CCID driver

This commit is contained in:
2026-04-07 17:34:26 +02:00
parent 952d27ae4c
commit 8b2e483e6d

View File

@@ -22,6 +22,14 @@
ln -sf "${pkgs.ccid}/pcsc/drivers/ifd-ccid.bundle" /var/lib/pcsc/drivers/ifd-ccid.bundle ln -sf "${pkgs.ccid}/pcsc/drivers/ifd-ccid.bundle" /var/lib/pcsc/drivers/ifd-ccid.bundle
''; '';
# Explicitly configure pcscd reader for CCID devices (YubiKey)
environment.etc."reader.conf.d/yubikey-ccid.conf".text = ''
# YubiKey FIDO+CCID reader configuration
DEVICENAME /dev/null
LIBPATH ${pkgs.ccid}/lib/libccid.so
CHANNELID 0
'';
# YubiKey management tools # YubiKey management tools
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
yubikey-manager # ykman CLI yubikey-manager # ykman CLI