Add config for Dell XPS 15 9520

This commit is contained in:
Tom Parker-Shemilt
2023-04-29 11:18:48 +01:00
parent d63e86cbed
commit b13c895f11
3 changed files with 55 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
{ lib, ... }:
{
imports = [
../default.nix
../../../../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";
};
}