flake/nixos/packages/graphical/display-server/wayland.nix
2023-10-15 08:51:56 +08:00

9 lines
No EOL
289 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
};
}