services.tox-node.enable

Whether to enable Tox Node service.

type

boolean

example

{
  services.tox-node.enable = true;
}

default

{
  services.tox-node.enable = false;
}

services.tox-node.keysFile

type

Concatenated string

default

{
  services.tox-node.keysFile = "/var/lib/tox-node/keys";
}

services.tox-node.lanDiscovery

type

boolean

default

{
  services.tox-node.lanDiscovery = true;
}

services.tox-node.logType

type

Concatenated string

default

{
  services.tox-node.logType = "Stderr";
}

services.tox-node.motd

type

Concatenated string

default

{
  services.tox-node.motd = "Hi from tox-rs! I'm up {{uptime}}. TCP: incoming {{tcp_packets_in}}, outgoing {{tcp_packets_out}}, UDP: incoming {{udp_packets_in}}, outgoing {{udp_packets_out}}";
}

services.tox-node.tcpAddresses

type

list of Concatenated string

default

{
  services.tox-node.tcpAddresses = [
    "0.0.0.0:33445"
  ];
}

services.tox-node.tcpConnectionLimit

type

signed integer

default

{
  services.tox-node.tcpConnectionLimit = 8192;
}

services.tox-node.threads

type

signed integer

default

{
  services.tox-node.threads = 1;
}

services.tox-node.udpAddress

type

Concatenated string

default

{
  services.tox-node.udpAddress = "0.0.0.0:33445";
}