2022-12-31 05:52:38 -05:00
|
|
|
{ lib, ... }:
|
2020-12-28 19:39:35 -05:00
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
../default.nix
|
2022-11-12 20:54:59 -05:00
|
|
|
../../../../common/gpu/nvidia/prime.nix
|
2020-12-28 19:39:35 -05: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";
|
|
|
|
};
|
|
|
|
}
|