Discord: Difference between revisions

Troubleshooting: New section on fixing Discord RPC
Sandro (talk | contribs)
Properly install systemd service
 
Line 191: Line 191:
<syntaxhighlight lang="nixos">
<syntaxhighlight lang="nixos">
{pkgs, ...}:{
{pkgs, ...}:{
   enviroment.systemPackages = with pkgs [
   enviroment.systemPackages = with pkgs; [
     arrpc
     arrpc
   ];
   ];
  systemd.packages = with pkgs; [ arrpc ];
}
}
</syntaxhighlight>
Enable and start included Systemd service
<syntaxhighlight lang="bash">
systemctl enable --now arrpc.service
</syntaxhighlight>
</syntaxhighlight>