Created
April 9, 2019 12:27
-
-
Save exarkun/cd1ffe505c8d48e14b9e45bcad0edddd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get the non-free wireless firmware installed so the wireless chip | |
# actually *works*. | |
hardware.enableRedistributableFirmware = true; | |
hardware.firmware = [ | |
(pkgs.stdenv.mkDerivation { | |
name = "broadcom-rpi3plus-extra"; | |
src = pkgs.fetchurl | |
{ url = "https://raw.githubusercontent.com/RPi-Distro/firmware-nonfree/b518de4/brcm/brcmfmac43455-sdio.txt"; | |
sha256 = "0r4bvwkm3fx60bbpwd83zbjganjnffiq1jkaj0h20bwdj9ysawg9"; | |
}; | |
phases = [ "installPhase" ]; | |
installPhase = '' | |
mkdir -p $out/lib/firmware/brcm | |
cp $src $out/lib/firmware/brcm/brcmfmac43455-sdio.txt | |
''; | |
}) | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment