switch back to stable nvidia driver for wayland

This commit is contained in:
Sean Buckley 2024-08-12 23:07:30 -04:00
parent 788fb66cec
commit 6e8406a6a5

View file

@ -1,14 +1,7 @@
{ config, ... }:
{
# NVIDIA-only using MUX switch in BIOS.
environment.variables.MUTTER_DEBUG_FORCE_KMS_MODE = "simple";
hardware.nvidia.modesetting.enable = true;
hardware.nvidia.open = false;
services.xserver.videoDrivers = [ "nvidia" ];
# Nvidia driver 555 is significant for wayland support.
# Currently version 555 is beta.
hardware.nvidia.package = builtins.trace
"Using beta nvidia driver"
config.boot.kernelPackages.nvidiaPackages.beta;
}