host/istal: add tox node
This commit is contained in:
parent
f6c855fe8a
commit
b2f8aa4b44
2 changed files with 19 additions and 0 deletions
|
@ -4,5 +4,6 @@
|
|||
./wireguard
|
||||
./docker-registry-proxy.nix
|
||||
./nginx.nix
|
||||
./tox.nix
|
||||
];
|
||||
}
|
||||
|
|
18
hosts/istal/services/tox.nix
Normal file
18
hosts/istal/services/tox.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue