summaryrefslogtreecommitdiff
path: root/trivionomicon/modules/athena-bccr/sys.nix
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2026-03-24 17:42:30 -0600
committerAlejandro Soto <alejandro@34project.org>2026-03-24 17:42:30 -0600
commitbf70cffaa6537a4c1aff558398e71fd4329d8efb (patch)
tree91a9309465c1d622c41047ec274d3b110ecd6123 /trivionomicon/modules/athena-bccr/sys.nix
parent5e95091f5347c8b08109ed75e05400685ac98f12 (diff)
Revert "Merge commit 'efcef47c37e27be128082fa9585b8fa1be3c4dd5' into master"
This reverts commit 93d87124e90859011855467b93592bd3d1bb7723, reversing changes made to 194efc5c4b7c1dabebd0731c81952e17d935c4d8.
Diffstat (limited to '')
-rw-r--r--trivionomicon/modules/athena-bccr/sys.nix14
1 files changed, 6 insertions, 8 deletions
diff --git a/trivionomicon/modules/athena-bccr/sys.nix b/trivionomicon/modules/athena-bccr/sys.nix
index bd7d758..0b4658c 100644
--- a/trivionomicon/modules/athena-bccr/sys.nix
+++ b/trivionomicon/modules/athena-bccr/sys.nix
@@ -6,17 +6,15 @@
doctrine,
...
}: let
- athena =
- (pkgs.${doctrine.prefix}.athena-bccr.override {
- inherit (cfg) mirror;
- }).${
- cfg.release
- };
-
- inherit (athena) vendor;
+ releases = pkgs.${doctrine.prefix}.athena-bccr.override {
+ inherit (cfg) mirror vendor;
+ };
+ athena = releases.${cfg.release};
driver = athena.card-driver.lib;
scmiddleware = "${driver}/lib/SCMiddleware";
+
+ inherit (cfg) vendor;
in {
environment = {
etc =