2020-02-05 10:40:43 +00:00
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
../../../common/cpu/intel
|
2024-06-29 00:23:23 +00:00
|
|
|
../../../common/gpu/intel/kaby-lake
|
2020-02-05 10:40:43 +00:00
|
|
|
../../../common/pc/laptop
|
|
|
|
./xps-common.nix
|
2024-07-09 04:13:07 +00:00
|
|
|
../../../common/gpu/nvidia
|
2020-02-05 10:40:43 +00:00
|
|
|
];
|
|
|
|
|
2024-07-09 08:48:01 +00:00
|
|
|
hardware.graphics.enable = true;
|
2024-01-09 07:27:35 +00:00
|
|
|
|
2024-07-09 04:02:17 +00:00
|
|
|
hardware.nvidia.modesetting.enable = true;
|
2024-01-09 07:27:35 +00:00
|
|
|
|
2024-07-09 04:02:17 +00:00
|
|
|
hardware.nvidia.prime = {
|
2024-07-09 04:13:07 +00:00
|
|
|
# integrated
|
2024-07-09 04:02:17 +00:00
|
|
|
intelBusId = "PCI:0:2:0";
|
2020-02-05 10:40:43 +00:00
|
|
|
|
2024-07-09 04:13:07 +00:00
|
|
|
# dedicated
|
2024-07-09 04:02:17 +00:00
|
|
|
nvidiaBusId = "PCI:1:0:0";
|
|
|
|
};
|
2020-02-05 10:40:43 +00:00
|
|
|
}
|