Discord: Difference between revisions
Add infobox application widget for discord |
→Troubleshooting: New section on fixing Discord RPC |
||
| Line 184: | Line 184: | ||
[[Category:Applications]] | [[Category:Applications]] | ||
[[Category:Gaming]] | [[Category:Gaming]] | ||
=== Discord RPC not functioning === | |||
==== NixOS ==== | |||
Install [https://github.com/OpenAsar/arrpc arRPC]: | |||
<syntaxhighlight lang="nixos"> | |||
{pkgs, ...}:{ | |||
enviroment.systemPackages = with pkgs [ | |||
arrpc | |||
]; | |||
} | |||
</syntaxhighlight> | |||
Enable and start included Systemd service | |||
<syntaxhighlight lang="bash"> | |||
systemctl enable --now arrpc.service | |||
</syntaxhighlight> | |||
==== Home Manager ==== | |||
Add the following to your Home Manager configuration | |||
<syntaxhighlight lang="nixos"> | |||
{pkgs, ...}:{ | |||
services.arrpc = { | |||
enable = true; | |||
package = pkgs.arrpc; #Default | |||
systemdTarget = "graphical-session.target"; #Default | |||
}; | |||
} | |||
</syntaxhighlight> | |||