Desktop/discord: get rid of official discord app
This commit is contained in:
parent
cc11a5a386
commit
fbe01084d2
1 changed files with 9 additions and 25 deletions
|
|
@ -1,8 +1,4 @@
|
||||||
{
|
{pkgs, ...}: let
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
discordOverlay = _self: super: {
|
discordOverlay = _self: super: {
|
||||||
discord = super.discord.override {
|
discord = super.discord.override {
|
||||||
withOpenASAR = true;
|
withOpenASAR = true;
|
||||||
|
|
@ -21,22 +17,10 @@
|
||||||
npmDepsHash = "sha256-97KgELDNhP2aZU66tC+F/QfHuWnICGRzXQFQMbim4Sk=";
|
npmDepsHash = "sha256-97KgELDNhP2aZU66tC+F/QfHuWnICGRzXQFQMbim4Sk=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
stock-discord = _self: super: {
|
|
||||||
discord = super.discord.override {
|
|
||||||
withOpenASAR = false;
|
|
||||||
withVencord = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
in {
|
in {
|
||||||
# Sometimes discord breaks after updates, and launching it stock once fixes it
|
|
||||||
specialisation.stockDiscord.configuration = {
|
|
||||||
nixpkgs.overlays = lib.mkAfter [stock-discord];
|
|
||||||
};
|
|
||||||
|
|
||||||
nixpkgs.overlays = [discordOverlay];
|
nixpkgs.overlays = [discordOverlay];
|
||||||
home-manager.users.toast = {
|
home-manager.users.toast = {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
discord
|
|
||||||
vesktop
|
vesktop
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue