Add RustDesk service and nginx configuration
This commit is contained in:
parent
651cc2be63
commit
0a9981870d
3 changed files with 49 additions and 8 deletions
24
hosts/crossbox/rustdesk.nix
Normal file
24
hosts/crossbox/rustdesk.nix
Normal 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
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue