mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	asus/zenbook/ux371: enable xe driver explicitly
This commit is contained in:
		
				
					committed by
					
						
						mergify[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							9fe0e21c99
						
					
				
				
					commit
					1bc47d8abf
				
			@@ -1,8 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  config,
 | 
			
		||||
  lib,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  inputs,
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
{
 | 
			
		||||
@@ -13,6 +11,9 @@
 | 
			
		||||
    ../../battery.nix
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  # while tiger-lake in general not supported by xe, some chipsets like this one are.
 | 
			
		||||
  hardware.intelgpu.driver = lib.mkIf (lib.versionAtLeast config.boot.kernelPackages.kernel.version "6.8") "xe";
 | 
			
		||||
 | 
			
		||||
  boot.kernelParams = lib.mkIf (config.hardware.intelgpu.driver == "xe") [
 | 
			
		||||
    "i915.force_probe=!9a49"
 | 
			
		||||
    "xe.force_probe=9a49"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user