i hate discord

This commit is contained in:
dusk 2022-04-11 22:15:06 +03:00
parent 92c7c99264
commit 71d4efd616
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA
3 changed files with 10 additions and 8 deletions

View File

@ -1,17 +1,17 @@
final: prev: rec {
discord-canary-system =
discord-system-electron =
prev.callPackage
mkDiscord
rec {
pname = "discord-canary";
version = "0.0.131";
binaryName = "DiscordCanary";
desktopName = "Discord Canary";
pname = "discord";
version = "0.0.17";
binaryName = "Discord";
desktopName = "Discord";
src =
prev.fetchurl
{
url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz";
sha256 = "sha256-ZYPdE02Jq79LmvXu7KIJFugJX++Nnj0Og/mBuaP/+SA=";
url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz";
sha256 = "sha256-NGJzLl1dm7dfkB98pQR3gv4vlldrII6lOMWTuioDExU=";
};
isWayland = true;
enableVulkan = false;
@ -21,6 +21,7 @@ final: prev: rec {
"--enable-zero-copy"
"--disable-gpu-driver-bug-workarounds"
];
electron = prev.electron_13;
};
mkDiscord = {
pname,

View File

@ -1 +1 @@
[]
["discord-system-electron"]

View File

@ -303,6 +303,7 @@ in {
}))
*/
standardnotes
discord-system-electron
];
};
wayland.windowManager = {