mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 22:28:03 +03:00
10 lines
243 B
Nix
10 lines
243 B
Nix
{ ... }:
|
|
|
|
{
|
|
hardware.nvidia.prime = {
|
|
offload.enable = true;
|
|
amdgpuBusId = "PCI:X:X:X"; # change to your AMD GPU's bus ID, e.g. "PCI:1:0:0"
|
|
nvidiaBusId = "PCI:X:X:X"; # change to your NVIDIA GPU's bus ID, e.g. "PCI:2:0:0"
|
|
};
|
|
}
|