Skip to content

Commit

Permalink
apple-macbook-pro-8-1: add README.md
Browse files Browse the repository at this point in the history
explaning to users how they can enable installtion of free packages
needed for b43-firmware to work
  • Loading branch information
Rayan Nakib (ريان نقيب) authored and mergify[bot] committed Sep 7, 2024
1 parent 1b3a547 commit 502e0ae
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions apple/macbook-pro/8-1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# MacBook Pro 8,1

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

### For b43-firmware only (Ideal)

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

### For all packages

```nix
{
nixpkgs.config.allowUnfree = true;
}
```

0 comments on commit 502e0ae

Please sign in to comment.