1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-30 06:49:43 +01:00
nixos-hardware/dell/xps/15-9560/default.nix
2024-09-03 12:17:17 -06:00

22 lines
420 B
Nix

{
imports = [
../../../common/cpu/intel
../../../common/gpu/intel/kaby-lake
../../../common/pc/laptop
./xps-common.nix
../../../common/gpu/nvidia
../../../common/gpu/nvidia/pascal
];
hardware.graphics.enable = true;
hardware.nvidia.modesetting.enable = true;
hardware.nvidia.prime = {
# integrated
intelBusId = "PCI:0:2:0";
# dedicated
nvidiaBusId = "PCI:1:0:0";
};
}