diff --git a/nixos/modules/yubikey.nix b/nixos/modules/yubikey.nix index 9bb79f3..c2a42cc 100644 --- a/nixos/modules/yubikey.nix +++ b/nixos/modules/yubikey.nix @@ -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