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