1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 03:19:42 +01:00

asus/zenbook/ux371: enable xe driver explicitly

This commit is contained in:
Jörg Thalheim 2024-09-29 14:21:08 +02:00 committed by mergify[bot]
parent 9fe0e21c99
commit 1bc47d8abf

View file

@ -1,8 +1,6 @@
{
config,
lib,
pkgs,
inputs,
...
}:
{
@ -13,6 +11,9 @@
../../battery.nix
];
# while tiger-lake in general not supported by xe, some chipsets like this one are.
hardware.intelgpu.driver = lib.mkIf (lib.versionAtLeast config.boot.kernelPackages.kernel.version "6.8") "xe";
boot.kernelParams = lib.mkIf (config.hardware.intelgpu.driver == "xe") [
"i915.force_probe=!9a49"
"xe.force_probe=9a49"