1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-31 20:17:45 +00:00

Use Element too and dont try to make discord use wayland because it doesn't

This commit is contained in:
RGBCube 2024-02-04 19:52:55 +03:00
parent fa18bd59d7
commit 5b3727f467
No known key found for this signature in database
3 changed files with 3 additions and 12 deletions

View file

@ -5,8 +5,6 @@
- Some Nginx headers were commented out because it collided or something. - Some Nginx headers were commented out because it collided or something.
Idfk. Make them not. Uncomment. Idfk. Make them not. Uncomment.
- Discord does not use Wayland.
- QT theme doesn't work. - QT theme doesn't work.
- Nushell custom prompt title does not work, as it gets - Nushell custom prompt title does not work, as it gets

View file

@ -9,16 +9,8 @@
}) })
(desktopHomePackages (with pkgs; [ (desktopHomePackages (with pkgs; [
((discord-canary.override { (discord-canary.override {
withOpenASAR = true; withOpenASAR = true;
withVencord = true; withVencord = true;
}).overrideAttrs (old: with pkgs; { })
libPath = old.libPath + ":${libglvnd}/lib";
nativeBuildInputs = old.nativeBuildInputs ++ [ makeWrapper ];
postFixup = ''
wrapProgram $out/opt/DiscordCanary/DiscordCanary \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland}}"
'';
}))
])) ]))

View file

@ -41,6 +41,7 @@
])) ]))
(desktopHomePackages (with pkgs; [ (desktopHomePackages (with pkgs; [
element-desktop
fractal fractal
qbittorrent qbittorrent
thunderbird thunderbird