_1password-gui: NIXOS_OZONE_WL: fix wayland window decorations (#197219)
This commit is contained in:
parent
027c2a07b9
commit
099792f89e
|
@ -127,6 +127,7 @@ in stdenv.mkDerivation {
|
||||||
makeWrapper $out/share/1password/1password $out/bin/1password \
|
makeWrapper $out/share/1password/1password $out/bin/1password \
|
||||||
''${gappsWrapperArgs[@]} \
|
''${gappsWrapperArgs[@]} \
|
||||||
--suffix PATH : ${lib.makeBinPath [ xdg-utils ]} \
|
--suffix PATH : ${lib.makeBinPath [ xdg-utils ]} \
|
||||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ udev ]}
|
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ udev ]} \
|
||||||
|
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue