NixOS-Config/system/hardware/nvidia.nix

11 lines
334 B
Nix

{pkgs, config, ...}: {
# Enable video drivers
services.xserver.videoDrivers = ["nvidia"];
hardware.nvidia = {
modesetting.enable = true;
nvidiaSettings = false;
package = config.boot.kernelPackages.nvidiaPackages.beta;
open = false;
};
}