Discord: Difference between revisions
Add infobox application widget for discord |
Properly install systemd service |
||
| (One intermediate revision by one other user not shown) | |||
| 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 | |||
]; | |||
systemd.packages = with pkgs; [ arrpc ]; | |||
} | |||
</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> | |||