mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			456 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			456 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ lib, ... }:
 | 
						|
 | 
						|
{
 | 
						|
  imports = [
 | 
						|
    ../../../common/pc/laptop
 | 
						|
    ../../../common/pc/laptop/hdd
 | 
						|
    ../../../common/cpu/intel/skylake
 | 
						|
    ../../../common/gpu/nvidia/maxwell
 | 
						|
    ../../../common/gpu/nvidia/prime.nix
 | 
						|
  ];
 | 
						|
 | 
						|
  hardware = {
 | 
						|
    nvidia.prime = {
 | 
						|
      intelBusId = "PCI:0:2:0";
 | 
						|
      nvidiaBusId = "PCI:2:0:0";
 | 
						|
    };
 | 
						|
 | 
						|
    enableRedistributableFirmware = lib.mkDefault true;
 | 
						|
  };
 | 
						|
  
 | 
						|
  services = {
 | 
						|
    thermald.enable = lib.mkDefault true;
 | 
						|
  };
 | 
						|
}
 |