m 2 opentracker: init
This commit is contained in:
parent
aaecf09050
commit
444f3f43cc
16
2configs/opentracker.nix
Normal file
16
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 a new issue