mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-23 10:09:44 +01:00
Add NVIDIA config for Dell XPS 15 7590
This commit is contained in:
parent
2d44015779
commit
c37aed2394
1 changed files with 15 additions and 0 deletions
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