diff --git a/README.md b/README.md index 3c92298..5ff7bfb 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,7 @@ See code for all available configurations. | [Apple MacBook Air 3,X](apple/macbook-air/3) | `` | | [Apple MacBook Air 4,X](apple/macbook-air/4) | `` | | [Apple MacBook Air 6,X](apple/macbook-air/6) | `` | +| [Apple MacBook Air 7,X](apple/macbook-air/7) | `` | | [Apple MacBook Pro 8,1](apple/macbook-pro/8-1) | `` | | [Apple MacBook Pro 10,1](apple/macbook-pro/10-1) | `` | | [Apple MacBook Pro 11,5](apple/macbook-pro/11-5) | `` | diff --git a/apple/macbook-air/7/README.md b/apple/macbook-air/7/README.md new file mode 100644 index 0000000..3a98262 --- /dev/null +++ b/apple/macbook-air/7/README.md @@ -0,0 +1,5 @@ +# MacBook Air 7,X + +### For wifi driver +broadcomt_sta was the best working driver I could find, however on the normal kernel, you need to `sudo modprobe -r wl` and `sudo modprobe wl`, however it was fully working on the zen kernel. + diff --git a/apple/macbook-air/7/default.nix b/apple/macbook-air/7/default.nix new file mode 100644 index 0000000..e251355 --- /dev/null +++ b/apple/macbook-air/7/default.nix @@ -0,0 +1,9 @@ +{ config, lib, pkgs, ... }: + +{ + imports = [ + ../. + ]; + + boot.extraModulePackages = lib.mkDefault [ config.boot.kernelPackages.broadcom_sta ]; +} diff --git a/flake.nix b/flake.nix index c404a9f..b637ed9 100644 --- a/flake.nix +++ b/flake.nix @@ -17,6 +17,7 @@ apple-macbook-air-3 = import ./apple/macbook-air/3; apple-macbook-air-4 = import ./apple/macbook-air/4; apple-macbook-air-6 = import ./apple/macbook-air/6; + apple-macbook-air-7 = import ./apple/macbook-air/7; apple-macbook-pro = import ./apple/macbook-pro; apple-macbook-pro-8-1 = import ./apple/macbook-pro/8-1; apple-macbook-pro-10-1 = import ./apple/macbook-pro/10-1;