m 2 opentracker: init
This commit is contained in:
parent
1604995481
commit
0bccd00078
16
makefu/2configs/opentracker.nix
Normal file
16
makefu/2configs/opentracker.nix
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{pkgs, ...}:
|
||||||
|
|
||||||
|
let
|
||||||
|
daemon-port = 16969;
|
||||||
|
cfgfile = pkgs.writeText "opentracker-cfg" ''
|
||||||
|
'';
|
||||||
|
in {
|
||||||
|
# Opentracker does not support local IPs (10.0.0.0/8 )
|
||||||
|
makefu.opentracker = {
|
||||||
|
enable = true;
|
||||||
|
args = "-p ${toString daemon-port} -P ${toString daemon-port}";
|
||||||
|
};
|
||||||
|
networking.firewall.allowedTCPPorts = [ daemon-port ];
|
||||||
|
networking.firewall.allowedUDPPorts = [ daemon-port ];
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user