summaryrefslogtreecommitdiffstats
path: root/1systems
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-10-08 22:21:16 +0200
committermakefu <github@syntax-fehler.de>2017-10-08 22:21:16 +0200
commit5624ba216ebc3c1adab4c499a30382b5b7d1c905 (patch)
tree2aacf8cc7a3130fb02d4598cadc78f7055c3b12f /1systems
parent3e900c00af5618ffc3bdaeab83166efb82a8d9bd (diff)
ma cake.r: add firmware for wifi
Diffstat (limited to '1systems')
-rw-r--r--1systems/cake/config.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/1systems/cake/config.nix b/1systems/cake/config.nix
index 35eac3ab4..e8438e50d 100644
--- a/1systems/cake/config.nix
+++ b/1systems/cake/config.nix
@@ -22,6 +22,20 @@
boot.tmpOnTmpfs = lib.mkForce false;
hardware.enableRedistributableFirmware = true;
+ hardware.firmware = [
+ (pkgs.stdenv.mkDerivation {
+ name = "broadcom-rpi3-rest";
+ src = pkgs.fetchurl {
+ url = "https://raw.githubusercontent.com/RPi-Distro/firmware-nonfree/54bab3d/brcm80211/brcm/brcmfmac43430-sdio.txt";
+ sha256 = "19bmdd7w0xzybfassn7x4rb30l70vynnw3c80nlapna2k57xwbw7";
+ };
+ phases = [ "installPhase" ];
+ installPhase = ''
+ mkdir -p $out/lib/firmware/brcm
+ cp $src $out/lib/firmware/brcm/brcmfmac43430-sdio.txt
+ '';
+ })
+ ];
networking.wireless.enable = true;
# File systems configuration for using the installer's partition layout
[cgit] Unable to lock slot /tmp/cgit/e5300000.lock: No such file or directory (2)