services.aria2.settings.listen-port

NixOS option

Set UDP listening port range used by DHT(IPv4, IPv6) and UDP tracker.

type: list of attribute set of 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
[
  {
    from = 6881;
    to = 6999;
  }
]
declared in: nixos/modules/services/networking/aria2.nixView source on NixOS/nixpkgs →