mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	Merge pull request #1197 from NixOS/lunar-lake
common/gpu/intel/lunar-lake: enable xe driver
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../cpu-only.nix
 | 
			
		||||
    ./cpu-only.nix
 | 
			
		||||
    ../../../gpu/intel/braswell
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../cpu-only.nix
 | 
			
		||||
    ./cpu-only.nix
 | 
			
		||||
    ../../../gpu/intel/broadwell
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../cpu-only.nix
 | 
			
		||||
    ./cpu-only.nix
 | 
			
		||||
    ../../../gpu/intel/comet-lake
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../cpu-only.nix
 | 
			
		||||
    ./cpu-only.nix
 | 
			
		||||
    ../../../gpu/intel/elkhart-lake
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../cpu-only.nix
 | 
			
		||||
    ./cpu-only.nix
 | 
			
		||||
    ../../../gpu/intel/haswell
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../cpu-only.nix
 | 
			
		||||
    ./cpu-only.nix
 | 
			
		||||
    ../../../gpu/intel/jasper-lake
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../cpu-only.nix
 | 
			
		||||
    ./cpu-only.nix
 | 
			
		||||
    ../../../gpu/intel/kaby-lake
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										5
									
								
								common/cpu/intel/lunar-lake/cpu-only.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								common/cpu/intel/lunar-lake/cpu-only.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../cpu-only.nix
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										6
									
								
								common/cpu/intel/lunar-lake/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								common/cpu/intel/lunar-lake/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ./cpu-only.nix
 | 
			
		||||
    ../../../gpu/intel/lunar-lake
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../cpu-only.nix
 | 
			
		||||
    ./cpu-only.nix
 | 
			
		||||
    ../../../gpu/intel/sandy-bridge
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../cpu-only.nix
 | 
			
		||||
    ./cpu-only.nix
 | 
			
		||||
    ../../../gpu/intel/tiger-lake
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										8
									
								
								common/gpu/intel/lunar-lake/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								common/gpu/intel/lunar-lake/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
			
		||||
{ config, lib, ... }:
 | 
			
		||||
{
 | 
			
		||||
  imports = [ ../. ];
 | 
			
		||||
  hardware.intelgpu = {
 | 
			
		||||
    driver = lib.mkIf (lib.versionAtLeast config.boot.kernelPackages.kernel.version "6.8") "xe";
 | 
			
		||||
    vaapiDriver = "intel-media-driver";
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user