flake/nixos/packages/graphical/display-server/wayland.nix
2023-09-19 08:17:43 +08:00

9 lines
No EOL
250 B
Nix
Executable file

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