Make electron apps in VMs use wayland

This commit is contained in:
Davíð Steinn Geirsson 2026-02-15 16:14:44 +00:00
parent 8ccd7868e7
commit 54d222a106

View file

@ -487,6 +487,10 @@ in
perf
wl-clipboard
];
environment.variables = {
# Without this electron apps default to X11, which doesn't work.
ELECTRON_OZONE_PLATFORM_HINT = "wayland";
};
# D-Bus for desktop applications
services.dbus.enable = true;