Discord: Difference between revisions

imported>Hypnosis2839
Installation: deduplicate info, refer to dedicated page for unfree
imported>Hypnosis2839
Text-to-Speech: replace overlay with override
Line 109: Line 109:


=== Text-to-Speech ===
=== Text-to-Speech ===
TTS is disabled by default, you may enable it via an overlay
TTS is disabled by default; you may enable it via an override:
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
nixpkgs.overlays =
(pkgs.discord.override { withTTS = true; })
  let
    myOverlay = self: super: {
      discord = super.discord.override { withTTS = true; };
    };
  in
  [ myOverlay ];
</syntaxhighlight>
</syntaxhighlight>