mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-15 15:39:41 +01:00
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";
|
||
|
};
|
||
|
}
|