config/systems/desktop/nvidia.nix

9 lines
223 B
Nix
Raw Normal View History

2023-03-09 08:33:38 +00:00
{ config, ... }:
{
hardware.opengl.enable = true;
hardware.opengl.driSupport32Bit = true;
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
services.xserver.videoDrivers = [ "nvidia" ];
}