mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-05 07:23:29 +01:00
asus/zenbook/ux371: enable xe driver explicitly
This commit is contained in:
1 parent
9fe0e21c99
commit
1bc47d8abf
1 file changed
+3
-2
@@ -1,8 +1,6 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
|
||||||
inputs,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
@@ -13,6 +11,9 @@
|
|||||||
../../battery.nix
|
../../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") [
|
boot.kernelParams = lib.mkIf (config.hardware.intelgpu.driver == "xe") [
|
||||||
"i915.force_probe=!9a49"
|
"i915.force_probe=!9a49"
|
||||||
"xe.force_probe=9a49"
|
"xe.force_probe=9a49"
|
||||||
|
|||||||
Reference in new issue
Block a user