flake/nixos/profiles/desktop/addtional/wayland.nix
2023-11-17 13:38:25 +08:00

7 lines
266 B
Nix
Executable file

{...}: {
programs.xwayland.enable = true; # enable XWayland
hardware.nvidia.nvidiaSettings = false; # NVIDIA settings menu, wont do anything on wayland
environment.sessionVariables = {
"NIXOS_OZONE_WL" = "1"; # let electron applications use wayland
};
}