summaryrefslogtreecommitdiff
path: root/sys/hardware/athena.nix
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2025-08-02 20:31:01 -0600
committerAlejandro Soto <alejandro@34project.org>2025-08-02 20:31:27 -0600
commit789a5a9563f1c3e5270205d39d9eece50909b739 (patch)
treed606e0d8ccf7f5a9372448d6ed9a429667f91195 /sys/hardware/athena.nix
parent565089cfa6fe3b102d63d17ec1ad488be223326e (diff)
pkgs/athena-bccr: split ase-idprotect bin and lib outputs
Diffstat (limited to 'sys/hardware/athena.nix')
-rw-r--r--sys/hardware/athena.nix14
1 files changed, 9 insertions, 5 deletions
diff --git a/sys/hardware/athena.nix b/sys/hardware/athena.nix
index b9a230b..9df7aac 100644
--- a/sys/hardware/athena.nix
+++ b/sys/hardware/athena.nix
@@ -16,12 +16,16 @@ in
};
config = mkIf cfg.enable {
- environment.etc = {
- "Athena".source = "${athena.ase-idprotect}/etc/Athena";
+ environment = {
+ etc = {
+ "Athena".source = "${athena.ase-pkcs11}/etc/Athena";
- "pkcs11/modules/asep11".text = ''
- module: ${athena.libasep11}
- '';
+ "pkcs11/modules/asep11".text = ''
+ module: ${athena.libasep11}
+ '';
+ };
+
+ systemPackages = [ athena.ase-pkcs11 ];
};
services = {