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