config/systems/mdesktop/nvidia.nix
2023-04-02 18:01:14 +01:00

9 lines
223 B
Nix

{ config, ... }:
{
hardware.opengl.enable = true;
hardware.opengl.driSupport32Bit = true;
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
services.xserver.videoDrivers = [ "nvidia" ];
}