flake/nixos/presets/desktop/wayland.nix

8 lines
266 B
Nix
Raw Normal View History

{...}: {
programs.xwayland.enable = true; # enable XWayland
2023-10-15 00:51:56 +00:00
hardware.nvidia.nvidiaSettings = false; # NVIDIA settings menu, wont do anything on wayland
2023-09-19 00:17:43 +00:00
environment.sessionVariables = {
"NIXOS_OZONE_WL" = "1"; # let electron applications use wayland
2023-09-19 00:17:43 +00:00
};
}