mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 17:38:41 +08:00
it doesn't work without a force_probe anyway see https://github.com/NixOS/nixos-hardware/issues/1278
9 lines
226 B
Nix
9 lines
226 B
Nix
{ config, lib, ... }:
|
|
{
|
|
imports = [ ../. ];
|
|
config = {
|
|
boot.kernelParams = lib.mkIf (config.hardware.intelgpu.driver == "i915") [ "i915.enable_guc=3" ];
|
|
hardware.intelgpu.vaapiDriver = "intel-media-driver";
|
|
};
|
|
}
|