mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 16:57:14 +08:00
add asus-zenbook-ux481
This commit is contained in:
committed by
mergify[bot]
parent
e128b73252
commit
a4bb30a900
17
asus/zenbook/ux481/nvidia/default.nix
Normal file
17
asus/zenbook/ux481/nvidia/default.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{lib, ...}:
|
||||
{
|
||||
imports = [
|
||||
../shared.nix
|
||||
../../../../common/gpu/nvidia/pascal
|
||||
../../../../common/gpu/nvidia/prime.nix
|
||||
];
|
||||
|
||||
hardware.nvidia = {
|
||||
prime = {
|
||||
intelBusId = "PCI:0:2:0";
|
||||
nvidiaBusId = "PCI:2:0:0";
|
||||
};
|
||||
|
||||
dynamicBoost.enable = lib.mkForce false; # Dynamic boost is not supported on Pascal architeture
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user