From fbf078d33619730a93b6dc34de195c93707b826c Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Fri, 4 Oct 2024 22:48:38 +0200 Subject: [PATCH] nixos/nvidia: use workaround for nvidia ghost display --- nix-os/nvidia.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nix-os/nvidia.nix b/nix-os/nvidia.nix index c166ac5..90c881f 100644 --- a/nix-os/nvidia.nix +++ b/nix-os/nvidia.nix @@ -6,6 +6,10 @@ driSupport = true; driSupport32Bit = true; }; + + # Workaround for nvidia driver ghost display + boot.kernelParams = [ "nvidia_drm.fbdev=1" ]; + services.xserver.videoDrivers = ["nvidia"]; hardware.nvidia = { modesetting.enable = true;