mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-05 01:09:44 +01:00
17 lines
356 B
Nix
17 lines
356 B
Nix
{
|
|
imports = [
|
|
../../../common/cpu/amd
|
|
../../../common/cpu/amd/pstate.nix
|
|
../../../common/gpu/nvidia
|
|
../../../common/gpu/nvidia/prime.nix
|
|
../../../common/gpu/nvidia/ampere
|
|
../../../common/pc/laptop
|
|
../../../common/pc/ssd
|
|
../../battery.nix
|
|
];
|
|
|
|
hardware.nvidia.prime = {
|
|
amdgpuBusId = "PCI:5:0:0";
|
|
nvidiaBusId = "PCI:1:0:0";
|
|
};
|
|
}
|