2022-12-31 10:52:38 +00:00
|
|
|
{ lib, ... }:
|
2020-07-22 21:16:27 +00:00
|
|
|
{
|
|
|
|
imports = [
|
2020-07-27 17:00:20 +00:00
|
|
|
../default.nix
|
2022-11-13 01:54:59 +00:00
|
|
|
../../../../common/gpu/nvidia/prime.nix
|
2020-07-22 21:16:27 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|