summaryrefslogtreecommitdiff
path: root/sys/hardware
diff options
context:
space:
mode:
Diffstat (limited to 'sys/hardware')
-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 = {