mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	asus/zenbook/ux371: init
This commit is contained in:
		
				
					committed by
					
						
						mergify[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							d789d9a2de
						
					
				
				
					commit
					2e7d6c5680
				
			
							
								
								
									
										24
									
								
								asus/zenbook/ux371/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								asus/zenbook/ux371/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
{
 | 
			
		||||
  config,
 | 
			
		||||
  lib,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  inputs,
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../../../common/cpu/intel/tiger-lake
 | 
			
		||||
    ../../../common/pc/laptop
 | 
			
		||||
    ../../../common/pc/laptop/ssd
 | 
			
		||||
    ../../battery.nix
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  boot.kernelParams = lib.mkIf (config.hardware.intelgpu.driver == "xe") [
 | 
			
		||||
    "i915.force_probe=!9a49"
 | 
			
		||||
    "xe.force_probe=9a49"
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  hardware.enableRedistributableFirmware = lib.mkDefault true;
 | 
			
		||||
  services.thermald.enable = lib.mkDefault true;
 | 
			
		||||
  powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user