From 5283872839845f390bc3a6b2494761c3bf8d0706 Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Mon, 17 Apr 2023 17:15:39 +0000 Subject: [PATCH] Add NVIDIA driver --- systems/thelio-nvidia.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/systems/thelio-nvidia.nix b/systems/thelio-nvidia.nix index 6e07371..965655c 100644 --- a/systems/thelio-nvidia.nix +++ b/systems/thelio-nvidia.nix @@ -76,7 +76,15 @@ neofetch ]; }; - + + # System76 + hardware.system76.enableAll = true; + + # NVIDIA + services.xserver.videoDrivers = [ "nvidia" ]; + hardware.opengl.enable = true; + hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable; + # Allow Unfree nixpkgs.config.allowUnfree = true;