Add RustDesk service and nginx configuration

This commit is contained in:
matthew.binning 2026-02-13 08:01:23 -08:00
parent 651cc2be63
commit 0a9981870d
3 changed files with 49 additions and 8 deletions

View file

@ -0,0 +1,24 @@
{ config, pkgs, lib, ... }:
{
services.rustdesk = {
enable = true;
server = {
port = 16484;
# Optional: Set a password for the server
# password = "your-password";
};
client = {
# Optional: Set a password for the client
# password = "your-password";
};
};
# Open firewall port for RustDesk
networking.firewall.allowedTCPPorts = [ 16484 ];
# Install RustDesk
environment.systemPackages = with pkgs; [
rustdesk
];
}