NixOS on ARM/Raspberry Pi 3: Difference between revisions
imported>Artturin m add }} to fix template |
imported>Tams Suggest firmwareLinuxNonfree pin hack for missing wlan0 |
||
| Line 168: | Line 168: | ||
===WiFi / WLAN=== | ===WiFi / WLAN=== | ||
For a possible solution to 802.11 wireless connectivity issues, see: https://github.com/NixOS/nixpkgs/issues/82462#issuecomment-604634627 | For a possible solution to 802.11 wireless connectivity issues, see: https://github.com/NixOS/nixpkgs/issues/82462#issuecomment-604634627 | ||
In case <code>wlan0</code> is missing, try overlaying an older <code>firmwareLinuxNonfree</code> confirmed to be working: | |||
{{file|/etc/nixos/configuration.nix|nix|<nowiki> | |||
{ config, pkgs, lib, ... }: | |||
{ | |||
nixpkgs.overlays = [ | |||
(self: super: { | |||
firmwareLinuxNonfree = super.firmwareLinuxNonfree.overrideAttrs (old: { | |||
version = "2020-12-18"; | |||
src = pkgs.fetchgit { | |||
url = | |||
"https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"; | |||
rev = "b79d2396bc630bfd9b4058459d3e82d7c3428599"; | |||
sha256 = "1rb5b3fzxk5bi6kfqp76q1qszivi0v1kdz1cwj2llp5sd9ns03b5"; | |||
}; | |||
outputHash = "1p7vn2hfwca6w69jhw5zq70w44ji8mdnibm1z959aalax6ndy146"; | |||
}); | |||
}) | |||
]; | |||
} | |||
</nowiki>}} | |||
===HDMI=== | ===HDMI=== | ||