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