nixos-config/hosts/crossbox/rustdesk.nix

24 lines
No EOL
488 B
Nix

{ 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
];
}