nixos/pcscd: add 'pcscd' user and group
In preparation for pcsclite (>=2.4.0) upgrade, where this user and group is required.
This commit is contained in:
@@ -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 = { };
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user