2020-02-05 11:40:43 +01:00
|
|
|
{
|
|
|
|
imports = [
|
2024-10-10 19:04:47 +02:00
|
|
|
../../../common/cpu/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
|
2024-09-03 20:17:17 +02:00
|
|
|
../../../common/gpu/nvidia/pascal
|
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
|
|
|
}
|