From 045a0c2af3bcd905eaaee4dab2e8338994c7d7b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Thu, 8 Jan 2026 18:55:03 +0100 Subject: [PATCH] nixos/pcscd: add 'pcscd' user and group In preparation for pcsclite (>=2.4.0) upgrade, where this user and group is required. --- nixos/modules/services/hardware/pcscd.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/modules/services/hardware/pcscd.nix b/nixos/modules/services/hardware/pcscd.nix index 10229c468740..88d6a7296ac6 100644 --- a/nixos/modules/services/hardware/pcscd.nix +++ b/nixos/modules/services/hardware/pcscd.nix @@ -134,5 +134,12 @@ in "${lib.getExe package} -f -x -c ${cfgFile} ${lib.escapeShellArgs cfg.extraArgs}" ]; }; + + users.users.pcscd = { + isSystemUser = true; + group = "pcscd"; + }; + + users.groups.pcscd = { }; }; }