diff options
author | Tom Hubrecht <tom@hubrecht.ovh> | 2024-04-24 20:35:24 +0200 |
---|---|---|
committer | Tom Hubrecht <tom@hubrecht.ovh> | 2024-04-24 20:35:32 +0200 |
commit | 5ad0ea1aaf1e6a2a5d6b8a65ccd6e7c7f0496ad6 (patch) | |
tree | a3a59f10e724fc9d79ecba39112a909936cd5aff /nixos/modules | |
parent | 47c8f08ecee08f216fd8c1dad7c405d04f30bf7c (diff) |
nixos/netbird: Fix configuration of coturn server
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/networking/netbird/coturn.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/networking/netbird/coturn.nix b/nixos/modules/services/networking/netbird/coturn.nix index dd032abb2d75e..746d70a07250d 100644 --- a/nixos/modules/services/networking/netbird/coturn.nix +++ b/nixos/modules/services/networking/netbird/coturn.nix @@ -148,10 +148,10 @@ in allowedUDPPorts = cfg.openPorts; allowedTCPPorts = cfg.openPorts; - allowedUDPPortRanges = [ + allowedUDPPortRanges = with config.services.coturn; [ { - from = cfg.minPort; - to = cfg.maxPort; + from = min-port; + to = max-port; } ]; }; |