Add NVIDIA config for Dell XPS 15 7590
This commit is contained in:
parent
2d44015779
commit
c37aed2394
15
dell/xps/15-7590/nvidia/default.nix
Normal file
15
dell/xps/15-7590/nvidia/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{lib, ...}:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../.
|
||||||
|
../../../../common/gpu/nvidia/prime.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
hardware.nvidia.prime = {
|
||||||
|
# Bus ID of the Intel GPU.
|
||||||
|
intelBusId = lib.mkDefault "PCI:0:2:0";
|
||||||
|
|
||||||
|
# Bus ID of the NVIDIA GPU.
|
||||||
|
nvidiaBusId = lib.mkDefault "PCI:1:0:0";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue