This commit is contained in:
Fabian Montero 2026-03-02 20:42:31 -06:00
commit 460da3db0b
Signed by: fabian
GPG key ID: 8036F30EDBAC8447
6 changed files with 207 additions and 126 deletions

View file

@ -6,17 +6,20 @@
...
}: let
athena = pkgs.${doctrine.prefix}.athena-bccr.${cfg.release};
inherit (athena) vendor;
in {
environment = {
etc = {
"Athena".source = "${athena.ase-pkcs11}/etc/Athena";
etc =
{
"pkcs11/modules/${vendor}".text = ''
module: ${athena.pkcs11-module}
'';
}
// lib.optionalAttrs (vendor == "athena") {
"Athena".source = "${athena.card-driver}/etc/Athena";
};
"pkcs11/modules/asep11".text = ''
module: ${athena.libasep11}
'';
};
systemPackages = [athena.ase-pkcs11];
systemPackages = [athena.card-driver];
};
security = {