From 74c420fbd3112791e652cd763514c9a871872643 Mon Sep 17 00:00:00 2001 From: Patrick Mulligan Date: Wed, 5 Aug 2026 04:27:00 +0200 Subject: [PATCH] feat(deploy): enable pcscd on batm3 for the Bolt Card reader The Feitian KP382 (096e:0608) is a CCID contactless reader; PC/SC must be running for the CCID driver to bind it. The app will talk to pcscd's socket via nfc-pcsc. Idle/harmless when no reader is attached. Co-Authored-By: Claude Opus 4.8 --- deploy/nixos/hardware/batm3.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/deploy/nixos/hardware/batm3.nix b/deploy/nixos/hardware/batm3.nix index a92159e..a03c830 100644 --- a/deploy/nixos/hardware/batm3.nix +++ b/deploy/nixos/hardware/batm3.nix @@ -85,6 +85,13 @@ cpuFreqGovernor = "performance"; }; + # PC/SC daemon for the Feitian KP382 contactless reader (096e:0608, a CCID + # smart-card reader) used for Bolt Card tap-to-pay on cash-out. Enabling it + # binds the CCID driver to the reader; the app talks to pcscd's socket (via + # nfc-pcsc) rather than the USB device directly. Harmless if no reader is + # attached — pcscd just idles. + services.pcscd.enable = true; + # Disable suspend/hibernate for kiosk systemd.targets = { sleep.enable = false;