morgen: enable wayland via ozone
When NIXOS_OZOME_WL is set electron should start with wayland enabled.
This commit is contained in:
parent
215881dc2f
commit
d38b10e6bd
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
|||
--replace '/opt/Morgen' $out/bin
|
||||
|
||||
makeWrapper ${electron}/bin/electron $out/bin/morgen \
|
||||
--add-flags $out/opt/Morgen/resources/app.asar
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations,WebRTCPipeWireCapturer}} $out/opt/Morgen/resources/app.asar"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue