Discord: Difference between revisions

imported>Hypnosis2839
m OpenAsar / Vencord: formatting
imported>Hypnosis2839
Installation: deduplicate info, refer to dedicated page for unfree
Line 2: Line 2:


== Installation ==
== Installation ==
available builds
Add one of
<nowiki>
discord
discord-ptb
discord-canary</nowiki>
replace the <code>discord</code> below with whichever build you want
=== NixOS ===


<syntaxhighlight lang="nix">
<nowiki>
nixpkgs.config = {
pkgs.discord
  allowUnfree = true;
pkgs.discord-ptb
};
pkgs.discord-canary
environment.systemPackages = with pkgs; [ discord ]
</nowiki>
</syntaxhighlight>


=== Home Manager ===
to your <code>environment.systemPackages</code> (NixOS) or <code>home.packages</code> (Home Manager).
Can be used on both NixOS and non-NixOS
Additionally, see [[Unfree Software]] to allow Discord to be installed.
 
Same as above but replace <code>environment.systemPackages</code> with <code>home.packages</code>
 
=== Non-NixOS ===
[https://nixos.org/manual/nixpkgs/stable/#sec-declarative-package-management declarative package management on non-nixos]


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