update levi wayland config

This commit is contained in:
Sean Buckley 2024-05-26 22:19:44 -04:00
parent 14e3659e1b
commit 2f5cf07722

View file

@ -1,7 +1,14 @@
{ config, ... }:
{ {
# NVIDIA-only using MUX switch in BIOS. # NVIDIA-only using MUX switch in BIOS.
environment.variables.MUTTER_DEBUG_FORCE_KMS_MODE = "simple"; environment.variables.MUTTER_DEBUG_FORCE_KMS_MODE = "simple";
hardware.nvidia.modesetting.enable = true; hardware.nvidia.modesetting.enable = true;
hardware.nvidia.open = false; hardware.nvidia.open = false;
services.xserver.videoDrivers = [ "nvidia" ]; 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;
} }