summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2026-02-18 19:06:23 -0600
committerAlejandro Soto <alejandro@34project.org>2026-02-18 19:06:23 -0600
commit41025c06bf5fca7f311e38ff5c3b1b8622894533 (patch)
treeb0cd99c84f2c142fd2c629fce6716a5015515f68
parent80ea8a98998e3ac14dac9759c29a363bd98f52ad (diff)
trivionomicon: athena-bccr: allow the 'users' group to access any card
Diffstat (limited to '')
-rw-r--r--modules/athena-bccr/sys.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/athena-bccr/sys.nix b/modules/athena-bccr/sys.nix
index 9532358..2dd56e2 100644
--- a/modules/athena-bccr/sys.nix
+++ b/modules/athena-bccr/sys.nix
@@ -28,7 +28,8 @@ in {
extraConfig = ''
polkit.addRule(function(action, subject) {
- if (action.id == "org.debian.pcsc-lite.access_pcsc" && subject.isInGroup("users")) {
+ if ((action.id == "org.debian.pcsc-lite.access_pcsc" || action.id == "org.debian.pcsc-lite.access_card") &&
+ subject.isInGroup("users")) {
return polkit.Result.YES;
}
});