diff options
Diffstat (limited to 'system/modules/hardware/nvidia-gpu.nix')
-rw-r--r-- | system/modules/hardware/nvidia-gpu.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/system/modules/hardware/nvidia-gpu.nix b/system/modules/hardware/nvidia-gpu.nix new file mode 100644 index 00000000..9fc34169 --- /dev/null +++ b/system/modules/hardware/nvidia-gpu.nix @@ -0,0 +1,5 @@ +{ config, pkgs, ... }: + +{ services.xserver.videoDrivers = [ "nvidia" ]; + nixpkgs.config.allowUnfree = true; +} |