NixOS-Config/modules/system/devices/video/nvidia/default.nix

11 lines
246 B
Nix
Raw Normal View History

2024-10-09 03:36:08 -04:00
{ pkgs, config, lib, ... }:
{
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = {
modesetting.enable = true;
nvidiaSettings = false;
package = config.boot.kernelPackages.nvidiaPackages.beta;
open = false;
};
}