setting services.pcscd.enable = true; in configuration.nix, the device is not recognized:
[user@nixos:~]$ sudo systemctl status pcscd.socket
● pcscd.socket - PC/SC Smart Card Daemon Activation Socket
Loaded: loaded (/etc/systemd/system/pcscd.socket; enabled; preset: ignored)
Drop-In: /nix/store/61ys57ml6m7m611w80y372288brlglsi-system-units/pcscd.socket.d
└─overrides.conf
Active: active (listening) since Sat 2025-11-22 12:55:39 CET; 1h 10min ago
Invocation: 850b2578593145a893c96564e3c8019a
Triggers: ● pcscd.service
Listen: /run/pcscd/pcscd.comm (Stream)
CGroup: /system.slice/pcscd.socket
Nov 22 12:55:39 nixos systemd[1]: Listening on PC/SC Smart Card Daemon Activation Socket.
[user@nixos:~]$ sudo systemctl status pcscd.service
○ pcscd.service - PC/SC Smart Card Daemon
Loaded: loaded (/etc/systemd/system/pcscd.service; linked; preset: ignored)
Drop-In: /nix/store/61ys57ml6m7m611w80y372288brlglsi-system-units/pcscd.service.d
└─overrides.conf
Active: inactive (dead) since Sat 2025-11-22 14:05:41 CET; 36s ago
Duration: 1min 4.875s
Invocation: b37975d539cc492aa483dd71bcf1d5f2
TriggeredBy: ● pcscd.socket
Docs: man:pcscd(8)
Process: 3533 ExecStart=/nix/store/6mzqgk6vmk9aphhrmpqv2y11fr878cx1-pcsclite-with-polkit-2.3.0/bin/pc>
Main PID: 3533 (code=exited, status=0/SUCCESS)
IP: 0B in, 0B out
IO: 0B read, 0B written
Mem peak: 3.2M
CPU: 28ms
Nov 22 14:04:37 nixos systemd[1]: Started PC/SC Smart Card Daemon.
Nov 22 14:05:41 nixos systemd[1]: pcscd.service: Deactivated successfully.
[user@nixos:~]$ pcsc_scan
PC/SC device scanner
V 1.7.3 (c) 2001-2024, Ludovic Rousseau <ludovic.rousseau@free.fr>
Using reader plug'n play mechanism
Scanning present readers...
Waiting for the first reader... - SCardGetStatusChange: Command cancelled.