mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 19:17:45 +00:00
Make Discord run under Wayland fr this time, it works
This commit is contained in:
parent
ab0466850a
commit
55a4e4be40
1 changed files with 10 additions and 2 deletions
|
@ -5,8 +5,16 @@
|
|||
})
|
||||
|
||||
(desktopUserHomePackages (with pkgs; [
|
||||
(discord.override {
|
||||
((discord.override {
|
||||
withOpenASAR = true;
|
||||
withVencord = true;
|
||||
})
|
||||
}).overrideAttrs (old: {
|
||||
nativeBuildInputs = old.nativeBuildInputs ++ [ makeWrapper ];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/opt/Discord/Discord \
|
||||
--set ELECTRON_OZONE_PLATFORM_HINT "auto" \
|
||||
--add-flags "--enable-features=UseOzonePlatform --ozone-platform=wayland"
|
||||
'';
|
||||
}))
|
||||
]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue