mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
update levi wayland config
This commit is contained in:
parent
14e3659e1b
commit
2f5cf07722
1 changed files with 7 additions and 0 deletions
|
@ -1,7 +1,14 @@
|
|||
{ 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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue