Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Video Settings & Drivers
- services.xserver.dpi = 100;
- fonts.fontconfig.dpi = 100;
- # 1. does not work
- # boot.kernelModules = [ "nvidia_x11" ];
- # services.xserver.videoDrivers = [ "nvidia" ];
- # boot.extraModulePackages = [ config.boot.kernelPackages.nvidia_x11 ];
- # 2. only "intel" works
- # services.xserver.videoDrivers = [ "intel" "nvidia" ];
- # 3. optimus prime mode ;)
- services.xserver.videoDrivers = [ "nvidia" ];
- hardware.nvidia.optimus_prime.enable = true;
- # Bus ID of the NVIDIA GPU. You can find it using lspci;
- # for example if lspci shows the NVIDIA GPU at "01:00.0", set this option to "PCI:1:0:0".
- hardware.nvidia.optimus_prime.nvidiaBusId = "PCI:1:0:0";
- # Bus ID of the Intel GPU. You can find it using lspci;
- # for example if lspci shows the Intel GPU at "00:02.0", set this option to "PCI:0:2:0".
- hardware.nvidia.optimus_prime.intelBusId = "PCI:0:2:0";
Advertisement
Add Comment
Please, Sign In to add comment