rustdesk
This commit is contained in:
@@ -271,7 +271,7 @@
|
|||||||
openwakeword = true;
|
openwakeword = true;
|
||||||
faster-whisper = true;
|
faster-whisper = true;
|
||||||
};
|
};
|
||||||
rustdesk.enable = false; #broken
|
rustdesk.enable = true; #broken
|
||||||
pihole.enable = false; #broken
|
pihole.enable = false; #broken
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -6,9 +6,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.sysconfig.opts.virtualization.rustdesk.enable {
|
config = lib.mkIf config.sysconfig.opts.virtualization.rustdesk.enable {
|
||||||
/*
|
|
||||||
networking = {
|
networking = {
|
||||||
firewall.allowedTCPPorts = [ 21115 21116 21117 ];
|
firewall.allowedTCPPorts = [ 21115 21116 21117 21118 21119 ];
|
||||||
firewall.allowedUDPPorts = [ 21116 ];
|
firewall.allowedUDPPorts = [ 21116 ];
|
||||||
};
|
};
|
||||||
containers.rustdesk = {
|
containers.rustdesk = {
|
||||||
@@ -21,18 +21,39 @@
|
|||||||
{
|
{
|
||||||
containerPort = 21115;
|
containerPort = 21115;
|
||||||
hostPort = 21115;
|
hostPort = 21115;
|
||||||
|
protocol = "tcp";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
containerPort = 21116;
|
containerPort = 21116;
|
||||||
hostPort = 21116;
|
hostPort = 21116;
|
||||||
|
protocol = "tcp";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
containerPort = 21116;
|
||||||
|
hostPort = 21116;
|
||||||
|
protocol = "udp";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
containerPort = 21117;
|
containerPort = 21117;
|
||||||
hostPort = 21117;
|
hostPort = 21117;
|
||||||
|
protocol = "tcp";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
containerPort = 21118;
|
||||||
|
hostPort = 21118;
|
||||||
|
protocol = "tcp";
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
containerPort = 21119;
|
||||||
|
hostPort = 21119;
|
||||||
|
protocol = "tcp";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
];
|
];
|
||||||
config = {
|
config = {
|
||||||
*/
|
|
||||||
services.rustdesk-server = {
|
services.rustdesk-server = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
@@ -48,19 +69,17 @@
|
|||||||
|
|
||||||
signal = {
|
signal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
relayHosts = [ "blunkall.us:21117" ];
|
#relayHosts = [ "blunkall.us" ];
|
||||||
#relayHosts = [ "localhost:21117" ];
|
relayHosts = [ "192.168.100.27" ];
|
||||||
extraArgs = [
|
extraArgs = [
|
||||||
"-k"
|
"-k"
|
||||||
"AAAAC3NzaC1lZDI1NTE5AAAAIIPztDjwgB3xCza5+p5z1jpGVYoVQNl3fqD69pPCm0NA"
|
"AAAAC3NzaC1lZDI1NTE5AAAAIIPztDjwgB3xCza5+p5z1jpGVYoVQNl3fqD69pPCm0NA"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
/*
|
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
*/
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user