Merge commit 'd1102d5b6f'
This commit is contained in:
commit
460da3db0b
6 changed files with 207 additions and 126 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue