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,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
{pkgs, ...}: let
|
||||
discordOverlay = _self: super: {
|
||||
discord = super.discord.override {
|
||||
withOpenASAR = true;
|
||||
|
|
@ -21,22 +17,10 @@
|
|||
npmDepsHash = "sha256-97KgELDNhP2aZU66tC+F/QfHuWnICGRzXQFQMbim4Sk=";
|
||||
};
|
||||
};
|
||||
stock-discord = _self: super: {
|
||||
discord = super.discord.override {
|
||||
withOpenASAR = false;
|
||||
withVencord = false;
|
||||
};
|
||||
};
|
||||
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];
|
||||
home-manager.users.toast = {
|
||||
home.packages = with pkgs; [
|
||||
discord
|
||||
vesktop
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue