2023-08-09 14:38:17 -04:00
|
|
|
{ ... }:
|
2020-02-05 05:40:43 -05:00
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
../../../../common/cpu/intel
|
2022-11-12 20:54:59 -05:00
|
|
|
../../../../common/gpu/nvidia/prime.nix
|
2020-02-05 05:40:43 -05:00
|
|
|
../../../../common/pc/laptop
|
|
|
|
../xps-common.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
# This runs only nvidia, great for games or heavy use of render applications
|
|
|
|
|
|
|
|
##### disable intel, run nvidia only and as default
|
2022-04-04 18:00:08 -04:00
|
|
|
hardware.nvidia.prime = {
|
|
|
|
# Bus ID of the Intel GPU.
|
2023-08-09 14:38:17 -04:00
|
|
|
intelBusId = "PCI:0:2:0";
|
2020-02-05 05:40:43 -05:00
|
|
|
|
2022-04-04 18:00:08 -04:00
|
|
|
# Bus ID of the NVIDIA GPU.
|
2023-08-09 14:38:17 -04:00
|
|
|
nvidiaBusId = "PCI:1:0:0";
|
2022-04-04 18:00:08 -04:00
|
|
|
};
|
2020-02-05 05:40:43 -05:00
|
|
|
}
|