RustDesk: Difference between revisions

Klinger (talk | contribs)
First version of article.
 
Kwinz (talk | contribs)
Server: Add note how to set parameters that need to be set via ENV variables.
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:
[[Category:Applications]] [[Category:Server]]
[[Category:Applications]] [[Category:Server]]
= Server =
= Server =
In NixOS 24.11 there is a mismatch between the documentation on search.nixos.org and the options needed to run the server. <syntaxhighlight lang="nixos">
There are only a few options necessary to run a RustDesk server:
<syntaxhighlight lang="nixos">
services.rustdesk-server = {
services.rustdesk-server = {
   enable = true;
   enable = true;
   openFirewall = true;
   openFirewall = true;
   relayIP = "example.com";
   signal.relayHosts = ["example.com"];
};
};
</syntaxhighlight>The key is stored at: /var/lib/private/rustdesk/id_ed25519.pub
</syntaxhighlight>The key is stored at: /var/lib/private/rustdesk/id_ed25519.pub
[https://github.com/rustdesk/rustdesk-server?tab=readme-ov-file#env-variables Some settings may only be set via ENV variables] like this:
<syntaxhighlight lang="nixos">
systemd.services.rustdesk-signal.environment.ALWAYS_USE_RELAY = "Y";
</syntaxhighlight>