Make electron apps in VMs use wayland
This commit is contained in:
parent
8ccd7868e7
commit
54d222a106
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue