mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			355 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			355 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ lib, ... }:
 | 
						|
{
 | 
						|
  imports = [
 | 
						|
    ../shared.nix
 | 
						|
    ../../../../common/gpu/nvidia/pascal
 | 
						|
    ../../../../common/gpu/nvidia/prime.nix
 | 
						|
  ];
 | 
						|
 | 
						|
  hardware.nvidia = {
 | 
						|
    prime = {
 | 
						|
      intelBusId = "PCI:0:2:0";
 | 
						|
      nvidiaBusId = "PCI:2:0:0";
 | 
						|
    };
 | 
						|
 | 
						|
    dynamicBoost.enable = lib.mkForce false; # Dynamic boost is not supported on Pascal architeture
 | 
						|
  };
 | 
						|
}
 |