Discord: Difference between revisions

imported>MathiasSven
m Add TTS section https://github.com/NixOS/nixpkgs/pull/224565
imported>Scrumplex
Add Vencord installation docs
Line 52: Line 52:
     myOverlay = self: super: {
     myOverlay = self: super: {
       discord = super.discord.override { withOpenASAR = true; };
       discord = super.discord.override { withOpenASAR = true; };
    };
  in
  [ myOverlay ];
</syntaxhighlight>
=== Vencord ===
Similarly to installing OpenAsar, you can install [https://github.com/Vendicated/Vencord Vencord] using an overlay:
<syntaxhighlight lang="nix">
nixpkgs.overlays =
  let
    myOverlay = self: super: {
      discord = super.discord.override { withVencord = true; };
    };
  in
  [ myOverlay ];
</syntaxhighlight>
You can also combine both OpenAsar and Vencord like this:
<syntaxhighlight lang="nix">
nixpkgs.overlays =
  let
    myOverlay = self: super: {
      discord = super.discord.override { withOpenASAR = true; withVencord = true; };
     };
     };
   in
   in