Add explicit pcscd reader.conf configuration for CCID driver
This commit is contained in:
@@ -22,6 +22,14 @@
|
||||
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
|
||||
environment.systemPackages = with pkgs; [
|
||||
yubikey-manager # ykman CLI
|
||||
|
||||
Reference in New Issue
Block a user