Discord: Difference between revisions

Klinger (talk | contribs)
m fixed link to „Unfree software“ (capitalization)
Frontear (talk | contribs)
m reword portions of the discord page, installation step
Line 1: Line 1:
{{unfree}}
Discord is an instant messaging and VoIP application with lots of functionality. It provides a web interface, though most users would prefer to use a client for interoperability with their system.
Discord is an instant messaging and VoIP application with lots of functionality (usable on the web, but there are also multi-platform clients available).


== Installation ==
== Installation ==
Add one of
{{Unfree}}


<pre>
=== Official Clients ===
pkgs.discord
Nixpkgs provides all three of Discord's release channels, accessible as <code>pkgs.discord</code>, <code>pkgs.discord-ptb</code>, and <code>pkgs.discord-canary</code> respectively. Add any of the previous derivations to your package's configuration. For [[NixOS]] this will be in <code>environment.systemPackages</code> or <code>users.users.<name>.packages</code>.<syntaxhighlight lang="nixos">
pkgs.discord-ptb
# configuration.nix
pkgs.discord-canary
{ config, lib, pkgs, ... }: {
</pre>
  # This will install Discord PTB for all users of the system
  environment.systemPackages = with pkgs; [
    discord-ptb
  ];


to your <code>environment.systemPackages</code> (NixOS) or <code>home.packages</code> (Home Manager).
  # This installs Discord PTB only for the user "alice"
  users.users.alice.packages = with pkgs; [
    discord-ptb
  ];
}
</syntaxhighlight>


Additionally, see [[Unfree software]] to allow Discord to be installed.
=== Unofficial Clients ===
Nixpkgs also provides a vast variety of community developed/modded Discord clients, which can usually serve as drop-in replacements for the official discord client with an extended set of features.
{{Warning|The usage of such client's goes against Discord's [https://discord.com/terms TOS], and can result in your account being permanently suspended from the platform!}}


== Alternative packages ==
== Alternative packages ==