steveej-x13s: use latest ath11k firmware and relax nix sandbox
This commit is contained in:
parent
d7ceee4171
commit
ea0d87fb89
3 changed files with 73 additions and 33 deletions
|
@ -23,12 +23,17 @@
|
|||
# nixos-x13s.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
mycelium.url = "github:threefoldtech/mycelium";
|
||||
ath11k-firmware = {
|
||||
url = "git+https://git.codelinaro.org/clo/ath-firmware/ath11k-firmware.git";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
get-flake,
|
||||
nixpkgs,
|
||||
ath11k-firmware,
|
||||
...
|
||||
}: let
|
||||
targetPlatform = "aarch64-linux";
|
||||
|
@ -90,5 +95,12 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
packages.${targetPlatform} = {
|
||||
x13s-ath11k-firmware = nixpkgs.legacyPackages.${targetPlatform}.runCommand "x13s-ath11k-firmware-before" {} ''
|
||||
mkdir -p $out/lib/firmware/ath11k/WCN6855/hw2.1/
|
||||
cp -v ${ath11k-firmware}/WCN6855/hw2.1/{board-2,regdb}.bin $out/lib/firmware/ath11k/WCN6855/hw2.1/
|
||||
cp -v ${ath11k-firmware}/WCN6855/hw2.1/1.1/WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.41/{amss,m3}.bin $out/lib/firmware/ath11k/WCN6855/hw2.1/
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue