NixOS-Config/system/modules/nvidia.nix

11 lines
334 B
Nix
Raw Normal View History

{pkgs, config, ...}: {
2024-08-24 22:16:51 -04:00
# Enable video drivers
services.xserver.videoDrivers = ["nvidia"];
hardware.nvidia = {
modesetting.enable = true;
nvidiaSettings = false;
package = config.boot.kernelPackages.nvidiaPackages.beta;
open = false;
2024-08-24 22:16:51 -04:00
};
}