Fix GoofCord identity by enabling native Wayland mode

Set NIXOS_OZONE_WL=1 so Electron runs on Wayland natively and sets
the correct app_id, matching the .desktop file's StartupWMClass.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ediblerope 2026-04-09 19:55:37 +01:00
parent f28f6ecbdf
commit 9fb0c0a792

View file

@ -13,7 +13,7 @@
(goofcord.overrideAttrs (old: {
postFixup = (old.postFixup or "") + ''
substituteInPlace $out/bin/goofcord \
--replace-fail '/bin/electron"' '/bin/electron" --class=GoofCord'
--replace-fail 'exec -a "$0"' 'NIXOS_OZONE_WL=1 exec -a "$0"'
'';
}))
lsfg-vk