Merge pull request #1197 from NixOS/lunar-lake

common/gpu/intel/lunar-lake: enable xe driver
This commit is contained in:
Jörg Thalheim
2024-10-22 21:14:45 +02:00
committed by GitHub
13 changed files with 40 additions and 21 deletions

View File

@@ -1,6 +1,6 @@
{
imports = [
../cpu-only.nix
./cpu-only.nix
../../../gpu/intel/braswell
];
}

View File

@@ -1,6 +1,6 @@
{
imports = [
../cpu-only.nix
./cpu-only.nix
../../../gpu/intel/broadwell
];
}

View File

@@ -1,6 +1,6 @@
{
imports = [
../cpu-only.nix
./cpu-only.nix
../../../gpu/intel/comet-lake
];
}

View File

@@ -1,6 +1,6 @@
{
imports = [
../cpu-only.nix
./cpu-only.nix
../../../gpu/intel/elkhart-lake
];
}

View File

@@ -1,6 +1,6 @@
{
imports = [
../cpu-only.nix
./cpu-only.nix
../../../gpu/intel/haswell
];
}

View File

@@ -1,6 +1,6 @@
{
imports = [
../cpu-only.nix
./cpu-only.nix
../../../gpu/intel/jasper-lake
];
}

View File

@@ -1,6 +1,6 @@
{
imports = [
../cpu-only.nix
./cpu-only.nix
../../../gpu/intel/kaby-lake
];
}

View File

@@ -0,0 +1,5 @@
{
imports = [
../cpu-only.nix
];
}

View File

@@ -0,0 +1,6 @@
{
imports = [
./cpu-only.nix
../../../gpu/intel/lunar-lake
];
}

View File

@@ -1,6 +1,6 @@
{
imports = [
../cpu-only.nix
./cpu-only.nix
../../../gpu/intel/sandy-bridge
];
}

View File

@@ -1,6 +1,6 @@
{
imports = [
../cpu-only.nix
./cpu-only.nix
../../../gpu/intel/tiger-lake
];
}

View 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";
};
}