mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 19:46:10 +01:00
Merge pull request #1197 from NixOS/lunar-lake
common/gpu/intel/lunar-lake: enable xe driver
This commit is contained in:
commit
22e8de2729
13 changed files with 40 additions and 21 deletions
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue