1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-27 05:19:43 +01:00
nixos-hardware/apple/macbook-pro/8-1
Rayan Nakib (ريان نقيب) 502e0aed31 apple-macbook-pro-8-1: add README.md
explaning to users how they can enable installtion of free packages
needed for b43-firmware to work
2024-09-07 13:23:33 +00:00
..
default.nix Treewide: Add new profile for Apple MacBook Pro 8,1 2024-09-07 13:23:33 +00:00
README.md apple-macbook-pro-8-1: add README.md 2024-09-07 13:23:33 +00:00

MacBook Pro 8,1

Enable unfree packages in your nix config for b43-firmware (wifi driver) to work

For b43-firmware only (Ideal)

{lib, ...}:

{
  nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
    "b43-firmware"
  ];
}

For all packages

{
  nixpkgs.config.allowUnfree = true;
}