nixos/nvidia: use workaround for nvidia ghost display

This commit is contained in:
Wroclaw 2024-10-04 22:48:38 +02:00
parent 7181b2012c
commit fbf078d336

View file

@ -6,6 +6,10 @@
driSupport = true; driSupport = true;
driSupport32Bit = true; driSupport32Bit = true;
}; };
# Workaround for nvidia driver ghost display
boot.kernelParams = [ "nvidia_drm.fbdev=1" ];
services.xserver.videoDrivers = ["nvidia"]; services.xserver.videoDrivers = ["nvidia"];
hardware.nvidia = { hardware.nvidia = {
modesetting.enable = true; modesetting.enable = true;