Unblacklist Nouveau
parent
c515cda23d
commit
dd15927f3a
|
@ -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="
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue