mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-11-30 21:13:30 +01:00
Starting with lunarlake this driver no longer needs to force probe: https://github.com/torvalds/linux/blob/ad46e8f95e931e113cb98253daf6d443ac244cde/drivers/gpu/drm/xe/xe_pci.c#L339 Co-authored-by: Gavin John <gavinnjohn@gmail.com>
9 lines
214 B
Nix
9 lines
214 B
Nix
{ config, lib, ... }:
|
|
{
|
|
imports = [ ../. ];
|
|
hardware.intelgpu = {
|
|
driver = lib.mkIf (lib.versionAtLeast config.boot.kernelPackages.kernel.version "6.8") "xe";
|
|
vaapiDriver = "intel-media-driver";
|
|
};
|
|
}
|