diff --git a/hosts/levi/default.nix b/hosts/levi/default.nix index 68754d0..b13242c 100644 --- a/hosts/levi/default.nix +++ b/hosts/levi/default.nix @@ -4,7 +4,7 @@ let in { imports = [ - ./optimus.nix + ./xorg.nix ]; environment.etc = { diff --git a/hosts/levi/wayland.nix b/hosts/levi/wayland.nix new file mode 100644 index 0000000..aa62776 --- /dev/null +++ b/hosts/levi/wayland.nix @@ -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" ]; +} diff --git a/hosts/levi/optimus.nix b/hosts/levi/xorg.nix similarity index 97% rename from hosts/levi/optimus.nix rename to hosts/levi/xorg.nix index f83d38e..785fb24 100644 --- a/hosts/levi/optimus.nix +++ b/hosts/levi/xorg.nix @@ -19,6 +19,8 @@ ''; } +### Nothing below this line has been tested since 2022 + ################################################################################ ### "sync mode"