mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	apple/macbook-pro/11-5: init
This commit is contained in:
		
							
								
								
									
										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" ];
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user