mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 03:19:42 +01:00
apple: init MacBookPro11,1
This commit is contained in:
parent
f372fa6cfa
commit
7a9364e705
4 changed files with 27 additions and 0 deletions
|
@ -85,6 +85,7 @@ See code for all available configurations.
|
||||||
| [Apple MacBook Air 7,X](apple/macbook-air/7) | `<nixos-hardware/apple/macbook-air/7>` |
|
| [Apple MacBook Air 7,X](apple/macbook-air/7) | `<nixos-hardware/apple/macbook-air/7>` |
|
||||||
| [Apple MacBook Pro 8,1](apple/macbook-pro/8-1) | `<nixos-hardware/apple/macbook-pro/8-1>` |
|
| [Apple MacBook Pro 8,1](apple/macbook-pro/8-1) | `<nixos-hardware/apple/macbook-pro/8-1>` |
|
||||||
| [Apple MacBook Pro 10,1](apple/macbook-pro/10-1) | `<nixos-hardware/apple/macbook-pro/10-1>` |
|
| [Apple MacBook Pro 10,1](apple/macbook-pro/10-1) | `<nixos-hardware/apple/macbook-pro/10-1>` |
|
||||||
|
| [Apple MacBook Pro 11,1](apple/macbook-pro/11-1) | `<nixos-hardware/apple/macbook-pro/11-1>` |
|
||||||
| [Apple MacBook Pro 11,5](apple/macbook-pro/11-5) | `<nixos-hardware/apple/macbook-pro/11-5>` |
|
| [Apple MacBook Pro 11,5](apple/macbook-pro/11-5) | `<nixos-hardware/apple/macbook-pro/11-5>` |
|
||||||
| [Apple MacBook Pro 12,1](apple/macbook-pro/12-1) | `<nixos-hardware/apple/macbook-pro/12-1>` |
|
| [Apple MacBook Pro 12,1](apple/macbook-pro/12-1) | `<nixos-hardware/apple/macbook-pro/12-1>` |
|
||||||
| [Apple MacBook Pro 14,1](apple/macbook-pro/14-1) | `<nixos-hardware/apple/macbook-pro/14-1>` |
|
| [Apple MacBook Pro 14,1](apple/macbook-pro/14-1) | `<nixos-hardware/apple/macbook-pro/14-1>` |
|
||||||
|
|
12
apple/macbook-pro/11-1/README.md
Normal file
12
apple/macbook-pro/11-1/README.md
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# Apple MacBook Pro 11,1
|
||||||
|
|
||||||
|
This configuration is tested on my 13" *MacBook Pro (Retina, 13-inch, Late 2013),* model number `A1502`.
|
||||||
|
|
||||||
|
The 6.11.5 kernel appears to work well with only minor adjustments on this notebook. Note that my machine has a BCM4360 wireless card (PCI-ID `14e4:43a0`) which appears to only work with the nonfree `wl` driver.
|
||||||
|
|
||||||
|
## Additional resources
|
||||||
|
|
||||||
|
* Linux Wireless Documentation: [List of hardware](https://wireless.docs.kernel.org/en/latest/en/users/drivers/b43.html#list-of-hardware)
|
||||||
|
* Arch linux wiki: [MacBookPro11,x](https://wiki.archlinux.org/index.php/MacBookPro11,x)
|
||||||
|
* Kernel patches: [MacBookPro11,x](https://bugzilla.kernel.org/buglist.cgi?quicksearch=macbookpro11)
|
||||||
|
|
13
apple/macbook-pro/11-1/default.nix
Normal file
13
apple/macbook-pro/11-1/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ lib, config, ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../.
|
||||||
|
../../../common/pc/laptop/ssd
|
||||||
|
../../../common/cpu/intel/haswell
|
||||||
|
];
|
||||||
|
|
||||||
|
# broadcom-wl
|
||||||
|
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
||||||
|
boot.extraModulePackages = with config.boot.kernelPackages; [ broadcom_sta ];
|
||||||
|
boot.kernelModules = [ "wl" ];
|
||||||
|
}
|
|
@ -21,6 +21,7 @@
|
||||||
apple-macbook-pro = import ./apple/macbook-pro;
|
apple-macbook-pro = import ./apple/macbook-pro;
|
||||||
apple-macbook-pro-8-1 = import ./apple/macbook-pro/8-1;
|
apple-macbook-pro-8-1 = import ./apple/macbook-pro/8-1;
|
||||||
apple-macbook-pro-10-1 = import ./apple/macbook-pro/10-1;
|
apple-macbook-pro-10-1 = import ./apple/macbook-pro/10-1;
|
||||||
|
apple-macbook-pro-11-1 = import ./apple/macbook-pro/11-1;
|
||||||
apple-macbook-pro-11-5 = import ./apple/macbook-pro/11-5;
|
apple-macbook-pro-11-5 = import ./apple/macbook-pro/11-5;
|
||||||
apple-macbook-pro-12-1 = import ./apple/macbook-pro/12-1;
|
apple-macbook-pro-12-1 = import ./apple/macbook-pro/12-1;
|
||||||
apple-macbook-pro-14-1 = import ./apple/macbook-pro/14-1;
|
apple-macbook-pro-14-1 = import ./apple/macbook-pro/14-1;
|
||||||
|
|
Loading…
Reference in a new issue