trivionomicon: athena-bccr: initial idopte support
This commit is contained in:
parent
57f673b495
commit
d1102d5b6f
4 changed files with 83 additions and 10 deletions
|
|
@ -6,16 +6,18 @@
|
|||
...
|
||||
}: let
|
||||
athena = pkgs.${doctrine.prefix}.athena-bccr.${cfg.release};
|
||||
inherit (athena.card-driver) vendor;
|
||||
inherit (athena) vendor;
|
||||
in {
|
||||
environment = {
|
||||
etc = lib.optionalAttrs (vendor == "athena") {
|
||||
"Athena".source = "${athena.card-driver}/etc/Athena";
|
||||
|
||||
"pkcs11/modules/asep11".text = ''
|
||||
module: ${athena.pkcs11-module}
|
||||
'';
|
||||
};
|
||||
etc =
|
||||
{
|
||||
"pkcs11/modules/${vendor}".text = ''
|
||||
module: ${athena.pkcs11-module}
|
||||
'';
|
||||
}
|
||||
// lib.optionalAttrs (vendor == "athena") {
|
||||
"Athena".source = "${athena.card-driver}/etc/Athena";
|
||||
};
|
||||
|
||||
systemPackages = [athena.card-driver];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue