diff --git a/ops/modules/open_eid.nix b/ops/modules/open_eid.nix index 4a48a09a6..4bc35e298 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; [