Add init nix file

This commit is contained in:
Aaron Honeycutt 2022-06-14 20:52:42 +00:00
parent 717ff6b424
commit d6fdfedd00

11
oryp6 Normal file
View file

@ -0,0 +1,11 @@
{ config, pkgs, ... }:
{
# NVIDIA
services.xserver.videoDrivers = [ "nvidia" ];
hardware.opengl.enable = true;
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
# Allow Unfree
nixpkgs.config.allowUnfree = true;
}