mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-27 03:59:45 +01:00
21 lines
390 B
Nix
21 lines
390 B
Nix
{
|
|
imports = [
|
|
../../../common/cpu/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";
|
|
};
|
|
}
|