summaryrefslogtreecommitdiff
path: root/modules/athena-bccr
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2026-03-09 02:33:10 -0600
committerAlejandro Soto <alejandro@34project.org>2026-03-09 02:33:10 -0600
commitca6ac0d5cb77b1328be42e36582bfcc970512ed9 (patch)
treee50538a6175501f8964926efe057ca2d51ca59f7 /modules/athena-bccr
parent2edfc79f2d21c876091eb1115324a4b96e5da8a5 (diff)
trivionomicon: athena-bccr: patch hard-coded FHS paths in idopte driver
Diffstat (limited to '')
-rw-r--r--modules/athena-bccr/sys.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/athena-bccr/sys.nix b/modules/athena-bccr/sys.nix
index ce63b01..425c23a 100644
--- a/modules/athena-bccr/sys.nix
+++ b/modules/athena-bccr/sys.nix
@@ -7,6 +7,9 @@
}: let
athena = pkgs.${doctrine.prefix}.athena-bccr.${cfg.release};
inherit (athena) vendor;
+
+ driver = athena.card-driver.lib;
+ scmiddleware = "${driver}/lib/SCMiddleware";
in {
environment = {
etc =
@@ -16,11 +19,12 @@ in {
'';
}
// lib.optionalAttrs (vendor == "athena") {
- "Athena".source = "${athena.card-driver.lib}/etc/Athena";
+ "Athena".source = "${driver}/etc/Athena";
}
// lib.optionalAttrs (vendor == "idopte") {
- "idoss.conf".source = "${athena.card-driver.lib}/etc/idoss.conf";
- "idoss.lic".source = "${athena.card-driver.lib}/etc/idoss.lic";
+ "idoss.conf".source = "${driver}/etc/idoss.conf";
+ "idoss.lic".source = "${driver}/etc/idoss.lic";
+ "SCMiddleware".source = scmiddleware;
};
systemPackages = [athena.card-driver];