Skip to content

Commit b6785e3

Browse files
committed
doc: added documentation for the wifi driver which is not included
1 parent c328f0f commit b6785e3

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

apple/macmini/6/README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# macmini 6.1/6.2
2+
3+
Everything should be working flawlessly **except** the wifi card which is not included in this config for performance and security reason.
4+
5+
Here is the potential fix you can use for this :
6+
- enable the b43 driver (it work but wifi performance are terrible):
7+
```nix
8+
boot = {
9+
kernelModules = [
10+
"b43"
11+
];
12+
blacklistedKernelModules = [
13+
"wl"
14+
"bcma"
15+
];
16+
};
17+
networking.enableB43Firmware = true;
18+
```
19+
- enable the insecure broadcom_sta driver
20+
```nix
21+
nixpkgs.config.allowInsecurePredicate =
22+
pkg:
23+
builtins.elem (lib.getName pkg) [
24+
"broadcom-sta" # aka “wl”
25+
];
26+
boot = {
27+
kernelModules = [
28+
"wl"
29+
];
30+
blacklistedKernelModules = [
31+
"b43"
32+
"bcma"
33+
];
34+
extraModulePackages = [
35+
# install broadcom driver for macos wifi
36+
# note : the user will need to add it to `permittedInsecurePackages`
37+
config.boot.kernelPackages.broadcom_sta
38+
];
39+
};
40+
```

0 commit comments

Comments
 (0)