all repos — nixfiles @ 4773e323ed24f05c1b465623f9ae4ee71e59c0b6

System and user configuration, managed by nix and home-manager

modules/hardware/nvidia-gpu.nix (view raw)

1
2
3
4
5
6
{ config, pkgs, ... }:

{ services.xserver.videoDrivers = [ "nvidia" ];
  hardware.opengl.driSupport32Bit = true;
  nixpkgs.config.allowUnfree = true;
}