Discord: Difference between revisions
imported>Garbas mNo edit summary |
imported>Artturin replace nix-env |
||
| Line 1: | Line 1: | ||
{{unfree}} | {{unfree}} | ||
== | == Installation == | ||
available builds | |||
<nowiki> | |||
discord | |||
discord-ptb | |||
discord-canary</nowiki> | |||
replace the <code>discord</code> below with whichever build you want | |||
=== NixOS === | |||
<syntaxhighlight lang="nix"> | |||
nixpkgs.config = { | |||
allowUnfree = true; | |||
}; | |||
environment.systemPackages = with pkgs; [ discord ] | |||
</syntaxhighlight> | |||
=== Home Manager === | |||
Can be used on both NixOS and non-NixOS | |||
</ | 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] | |||
== Usage == | == Usage == | ||