server7/tox: add Tox bootstrap node
This commit is contained in:
parent
6516995caa
commit
2e5a180115
|
@ -0,0 +1,39 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
networking.firewall.enable = false;
|
||||
|
||||
services.toxBootstrapd = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
enable_ipv6 = true
|
||||
enable_lan_discovery = true
|
||||
enable_tcp_relay = true
|
||||
tcp_relay_ports = [443, 3389, 33445]
|
||||
enable_motd = true
|
||||
motd = "<<</>>"
|
||||
bootstrap_nodes = (
|
||||
{
|
||||
address = "2a01:4f8:120:4091::3"
|
||||
port = 33445
|
||||
public_key = "02807CF4F8BB8FB390CC3794BDF1E8449E9A8392C5D3F2200019DA9F1E812E46"
|
||||
},
|
||||
{
|
||||
address = "87.118.126.207"
|
||||
port = 33445
|
||||
public_key = "0D303B1778CA102035DA01334E7B1855A45C3EFBC9A83B9D916FFDEBC6DD3B2E"
|
||||
},
|
||||
{
|
||||
address = "46.229.52.198"
|
||||
port = 33445
|
||||
public_key = "813C8F4187833EF0655B10F7752141A352248462A567529A38B6BBF73E979307"
|
||||
},
|
||||
{
|
||||
address = "2001:1470:fbfe::109"
|
||||
port = 33445
|
||||
public_key = "813C8F4187833EF0655B10F7752141A352248462A567529A38B6BBF73E979307"
|
||||
}
|
||||
)
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue