keybase-gui: add NIXOS_OZONE_WL support

This commit is contained in:
Ryan Omasta
2024-11-08 15:41:50 -07:00
parent a024f81d84
commit 265d9a2adb
+1 -1
View File
@@ -98,7 +98,7 @@ stdenv.mkDerivation rec {
checkFailed
fi
exec $out/share/keybase/Keybase "\$@"
exec $out/share/keybase/Keybase \''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}} "\$@"
EOF
chmod +x $out/bin/keybase-gui