Unblacklist Nouveau

David Crompton 2023-08-01 13:43:04 -04:00
parent 218de0ff68
commit bc37c662da
1 changed files with 4 additions and 1 deletions

View File

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