nixos-hardware/dell/xps/15-9560/default.nix

22 lines
382 B
Nix
Raw Normal View History

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