about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ops/modules/open_eid.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/ops/modules/open_eid.nix b/ops/modules/open_eid.nix
index 4a48a09a6c9a..4bc35e298c89 100644
--- a/ops/modules/open_eid.nix
+++ b/ops/modules/open_eid.nix
@@ -23,9 +23,10 @@ in
 {
   services.pcscd.enable = true;
 
-  # Tell p11-kit to load onepin-opensc-pkcs11.so
-  environment.etc."pkcs11/modules/onepin-opensc-pkcs11".text = ''
-    module: ${pkgs.opensc}/lib/onepin-opensc-pkcs11.so
+  # Tell p11-kit to load/proxy opensc-pkcs11.so, providing all available slots
+  # (PIN1 for authentication/decryption, PIN2 for signing).
+  environment.etc."pkcs11/modules/opensc-pkcs11".text = ''
+    module: ${pkgs.opensc}/lib/opensc-pkcs11.so
   '';
 
   environment.systemPackages = with pkgs; [