levi: add wayland config and rename xorg config

This commit is contained in:
Sean Buckley 2024-05-07 22:03:04 -04:00
parent 913896ec30
commit 3984e050ff
3 changed files with 10 additions and 1 deletions

View file

@ -4,7 +4,7 @@ let
in in
{ {
imports = [ imports = [
./optimus.nix ./xorg.nix
]; ];
environment.etc = { environment.etc = {

7
hosts/levi/wayland.nix Normal file
View file

@ -0,0 +1,7 @@
{
# 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" ];
}

View file

@ -19,6 +19,8 @@
''; '';
} }
### Nothing below this line has been tested since 2022
################################################################################ ################################################################################
### "sync mode" ### "sync mode"