host/istal: add tox node

This commit is contained in:
Dmitriy Pleshevskiy 2024-09-05 18:45:42 +03:00
parent f6c855fe8a
commit b2f8aa4b44
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2
2 changed files with 19 additions and 0 deletions

View file

@ -4,5 +4,6 @@
./wireguard
./docker-registry-proxy.nix
./nginx.nix
./tox.nix
];
}

View file

@ -0,0 +1,18 @@
{ ... }:
{
networking.firewall = {
allowedTCPPorts = [ 33445 ];
allowedUDPPorts = [ 33445 ];
};
services.tox-node = {
enable = true;
udpAddress = "0.0.0.0:33445";
tcpAddresses = [
"0.0.0.0:33445"
];
};
}