nixos-config/common/gpu-nvidia.nix
2019-10-19 12:55:35 +02:00

7 lines
139 B
Nix

{ config, pkgs, ... }:
{
# Graphics drivers
services.xserver.videoDrivers = [ "nvidia" ];
hardware.opengl.driSupport32Bit = true;
}