gl-ar750: ath10k wireless depends on firmware

so make sure the firmware is present _first_

the ath10k is still broken anyway, looking into why
This commit is contained in:
Daniel Barlow 2024-02-16 00:38:36 +00:00
parent c373152673
commit b5722a0153
2 changed files with 4 additions and 1 deletions

View file

@ -74,6 +74,7 @@
mac80211 = pkgs.kmodloader.override { mac80211 = pkgs.kmodloader.override {
targets = ["ath9k" "ath10k_pci"]; targets = ["ath9k" "ath10k_pci"];
inherit (config.system.outputs) kernel; inherit (config.system.outputs) kernel;
dependencies = [ ath10k_cal_data ];
}; };
ath10k_cal_data = ath10k_cal_data =
let let
@ -132,7 +133,7 @@
}; };
wlan5 = link.build { wlan5 = link.build {
ifname = "wlan1"; ifname = "wlan1";
dependencies = [ mac80211 ath10k_cal_data ]; dependencies = [ ath10k_cal_data mac80211 ];
}; };
}; };
}; };

View file

@ -5,6 +5,7 @@
, kernel ? null , kernel ? null
, runCommand , runCommand
, pkgsBuildBuild , pkgsBuildBuild
, dependencies ? []
} : } :
let let
inherit (liminix.services) oneshot; inherit (liminix.services) oneshot;
@ -38,4 +39,5 @@ in oneshot {
name = "kmodloader-" + (concatStringsSep "-" targets); name = "kmodloader-" + (concatStringsSep "-" targets);
up = "sh ${loader}/load.sh"; up = "sh ${loader}/load.sh";
down = "sh ${loader}/unload.sh"; down = "sh ${loader}/unload.sh";
inherit dependencies;
} }