Nvidia: Difference between revisions
imported>User No edit summary |
imported>P-h Update to renamed option names |
||
Line 63: | Line 63: | ||
{ | { | ||
services.xserver.videoDrivers = [ "intel" "nvidia" ]; | services.xserver.videoDrivers = [ "intel" "nvidia" ]; | ||
hardware.nvidia. | hardware.nvidia.optimus_prime.enable = true; | ||
# Bus ID of the NVIDIA GPU. You can find it using lspci, either under 3D or VGA | # Bus ID of the NVIDIA GPU. You can find it using lspci, either under 3D or VGA | ||
hardware.nvidia. | hardware.nvidia.optimus_prime.nvidiaBusId = "PCI:1:0:0"; | ||
# Bus ID of the Intel GPU. You can find it using lspci, either under 3D or VGA | # Bus ID of the Intel GPU. You can find it using lspci, either under 3D or VGA | ||
hardware.nvidia. | hardware.nvidia.optimus_prime.intelBusId = "PCI:0:2:0"; | ||
} | } | ||
</nowiki>}} | </nowiki>}} |