diff options
author | Rehno Lindeque <errantkid@gmail.com> | 2018-07-22 17:22:08 -0400 |
---|---|---|
committer | Rehno Lindeque <errantkid@gmail.com> | 2018-07-30 17:55:13 -0400 |
commit | 93d292b8306e09a0273eb09eeee957f316b72be8 (patch) | |
tree | 9908cc9b468f91408908e3ec624f97c940a08f49 /apple | |
parent | 56b7d7254f6acb00112f25f9c38a2ff02f1f46c2 (diff) |
apple/macbook-pro/11-5: init
Diffstat (limited to 'apple')
-rw-r--r-- | apple/macbook-pro/11-5/README.wiki | 8 | ||||
-rw-r--r-- | apple/macbook-pro/11-5/default.nix | 17 |
2 files changed, 25 insertions, 0 deletions
diff --git a/apple/macbook-pro/11-5/README.wiki b/apple/macbook-pro/11-5/README.wiki new file mode 100644 index 0000000..6e1e8a8 --- /dev/null +++ b/apple/macbook-pro/11-5/README.wiki @@ -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. + diff --git a/apple/macbook-pro/11-5/default.nix b/apple/macbook-pro/11-5/default.nix new file mode 100644 index 0000000..b5c36a6 --- /dev/null +++ b/apple/macbook-pro/11-5/default.nix @@ -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" ]; +} |