nixos/netbird: Fix configuration of coturn server

Changed files
+3 -3
nixos
modules
services
networking
netbird
+3 -3
nixos/modules/services/networking/netbird/coturn.nix
···
allowedUDPPorts = cfg.openPorts;
allowedTCPPorts = cfg.openPorts;
-
allowedUDPPortRanges = [
+
allowedUDPPortRanges = with config.services.coturn; [
{
-
from = cfg.minPort;
-
to = cfg.maxPort;
+
from = min-port;
+
to = max-port;
}
];
};