1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 11:29:42 +01:00
nixos-hardware/common/gpu/intel/lunar-lake/default.nix
Jörg Thalheim 6e486f2812 common/gpu/intel/lunar-lake: enable xe driver
Starting with lunarlake this driver no longer needs to force probe:

ad46e8f95e/drivers/gpu/drm/xe/xe_pci.c (L339)

Co-authored-by: Gavin John <gavinnjohn@gmail.com>
2024-10-22 18:27:09 +02:00

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