summaryrefslogtreecommitdiff
path: root/modules/athena-bccr/sys.nix
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2026-03-09 15:25:05 -0600
committerAlejandro Soto <alejandro@34project.org>2026-03-09 15:25:31 -0600
commitfc467dc475567cf8030d5b20aacf99f2afcbbe9e (patch)
treec9d86140482bd340f01b4ba309f9767010c9c9e5 /modules/athena-bccr/sys.nix
parent2ae55b6ff17c2dc3e02f08611e9028cbe896dfd0 (diff)
trivionomicon: athena-bccr: add support for mirrors
Diffstat (limited to '')
-rw-r--r--modules/athena-bccr/sys.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/athena-bccr/sys.nix b/modules/athena-bccr/sys.nix
index 98ae904..bd7d758 100644
--- a/modules/athena-bccr/sys.nix
+++ b/modules/athena-bccr/sys.nix
@@ -6,7 +6,13 @@
doctrine,
...
}: let
- athena = pkgs.${doctrine.prefix}.athena-bccr.${cfg.release};
+ athena =
+ (pkgs.${doctrine.prefix}.athena-bccr.override {
+ inherit (cfg) mirror;
+ }).${
+ cfg.release
+ };
+
inherit (athena) vendor;
driver = athena.card-driver.lib;