feat(desktop): replace vesktop with stock discord

This commit is contained in:
uku 2025-02-17 11:55:42 +01:00
parent e4fad165aa
commit 415edf41f3
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o
2 changed files with 6 additions and 14 deletions

View file

@ -77,6 +77,10 @@
home = { home = {
packages = with pkgs; [ packages = with pkgs; [
chromium chromium
(discord.override {
withOpenASAR = true;
withVencord = true;
})
gimp gimp
gparted gparted
idea-ultimate-fixed idea-ultimate-fixed
@ -85,7 +89,6 @@
strawberry strawberry
teams-for-linux teams-for-linux
thunderbird thunderbird
(vesktop.override { withSystemVencord = true; })
vscode vscode
# libreoffice stuff # libreoffice stuff

View file

@ -11,29 +11,18 @@ inputs: final: prev: {
]; ];
}); });
vencord = prev.vencord.overrideAttrs (old: rec { vencord = prev.vencord.overrideAttrs (old: {
version = "${old.version}+git.${inputs.vencord.shortRev}"; version = "${old.version}+git.${inputs.vencord.shortRev}";
src = inputs.vencord; src = inputs.vencord;
env = old.env // { env = old.env // {
VENCORD_REMOTE = "Vendicated/Vencord"; VENCORD_REMOTE = "Vendicated/Vencord";
VENCORD_HASH = src.shortRev; VENCORD_HASH = inputs.vencord.shortRev;
}; };
pnpmDeps = old.pnpmDeps.overrideAttrs (_: { pnpmDeps = old.pnpmDeps.overrideAttrs (_: {
outputHash = "sha256-ZUwtNtOmxjhOBpYB7vuytunGBRSuVxdlQsceRmeyhhI="; outputHash = "sha256-ZUwtNtOmxjhOBpYB7vuytunGBRSuVxdlQsceRmeyhhI=";
outputHashAlgo = "sha256"; outputHashAlgo = "sha256";
}); });
ventex = prev.fetchFromGitHub {
owner = "vgskye";
repo = "ventex";
rev = "158c14e7d88acb140a71766c514d8a3724d260cd";
hash = "sha256-Svc8dI2weFcqPSk064t/pL/4Hopn6/mWP6cIrT+FIr8=";
};
postConfigure = ''
cp -r ${ventex} src/plugins/ventex
'';
}); });
} }