mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-09 12:39:40 +01:00
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
This commit is contained in:
parent
1b3a547126
commit
502e0aed31
1 changed files with 24 additions and 0 deletions
24
apple/macbook-pro/8-1/README.md
Normal file
24
apple/macbook-pro/8-1/README.md
Normal file
|
@ -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;
|
||||
}
|
||||
```
|
Loading…
Reference in a new issue