mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-23 10:09:44 +01:00
apple/macbook-pro/11-5: init
This commit is contained in:
parent
56b7d7254f
commit
93d292b830
3 changed files with 26 additions and 0 deletions
|
@ -23,6 +23,7 @@ should look like:
|
|||
| Apple MacBook Air 4,X | ~<nixos-hardware/apple/macbook-air/4>~ |
|
||||
| Apple MacBook Air 6,X | ~<nixos-hardware/apple/macbook-air/6>~ |
|
||||
| [[file:apple/macbook-pro/10-1][Apple MacBook Pro 10,1]] | ~<nixos-hardware/apple/macbook-pro/10-1>~ |
|
||||
| [[file:apple/macbook-pro/11-5][Apple MacBook Pro 11,5]] | ~<nixos-hardware/apple/macbook-pro/11-5>~ |
|
||||
| Apple MacBook Pro 12,1 | ~<nixos-hardware/apple/macbook-pro/12-1>~ |
|
||||
| [[file:dell/xps/15-9550][Dell XPS 15 9550]] | ~<nixos-hardware/dell/xps/15-9550>~ |
|
||||
| [[file:inversepath/usbarmory][Inverse Path USB armory]] | ~<nixos-hardware/inversepath/usbarmory>~ |
|
||||
|
|
8
apple/macbook-pro/11-5/README.wiki
Normal file
8
apple/macbook-pro/11-5/README.wiki
Normal file
|
@ -0,0 +1,8 @@
|
|||
= Apple MacBook Pro 11,5 =
|
||||
|
||||
This configuration will '''not''' work with MacBook Pro 11,2 or 11,3 models.
|
||||
|
||||
The [https://support.apple.com/kb/SP719 MacBookPro11,4 and MacBookPro11,5] models ship with a discrete ATI graphics card (whereas MacBookPro11,2 and MacBookPro11,3 ship with NVidia cards). This is alongside the usual integrated Intel GPU.
|
||||
|
||||
You may wish to look into dynamic switching between integrated and discrete graphics, but this config doesn't attempt it.
|
||||
|
17
apple/macbook-pro/11-5/default.nix
Normal file
17
apple/macbook-pro/11-5/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../.
|
||||
../../../common/pc/laptop/ssd
|
||||
<nixpkgs/nixos/modules/hardware/network/broadcom-43xx.nix>
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
# Apparently this is currently only supported by ati_unfree drivers, not ati
|
||||
hardware.opengl.driSupport32Bit = false;
|
||||
|
||||
services.xserver.videoDrivers = [ "ati" ];
|
||||
}
|
Loading…
Reference in a new issue