summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/opentracker.nix
blob: f9810562578ecaae100a9dadc4b8c0f213b4b4c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 ];

}