diff --git a/machines/kcnhub/nvidia.nix b/machines/kcnhub/nvidia.nix index 467e60c..e85397b 100644 --- a/machines/kcnhub/nvidia.nix +++ b/machines/kcnhub/nvidia.nix @@ -1,4 +1,5 @@ { config, lib, pkgs, ...}: { + config = { # Make sure opengl is enabled hardware.opengl = { enable = true; @@ -13,8 +14,9 @@ # For the Older GPU "nouveau" ]; + services.xserver.exportConfiguration = true; - + boot.blacklistedKernelModules = lib.mkForce ["nvidiafb"]; hardware.nvidia = { # Modesetting is needed for most Wayland compositors @@ -43,4 +45,5 @@ "cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E=" ]; }; +}; }