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:
parent
9fe0e21c99
commit
1bc47d8abf
1 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue