diff --git a/system-config/services/containers/netbird/default.nix b/system-config/services/containers/netbird/default.nix index 1d896b7..e53bdee 100644 --- a/system-config/services/containers/netbird/default.nix +++ b/system-config/services/containers/netbird/default.nix @@ -17,6 +17,8 @@ config = { + system.stateVersion = "25.05"; + services.netbird = { enable = config.sysconfig.opts.netbird.enable; }; @@ -50,7 +52,13 @@ hostPort = 3478; protocol = "udp"; } - ];/* ++ map (x : { + ] ++ map (x: { + containerPort = x; + hostPort = x; + protocol = "udp"; + }) (builtins.genList (y: y + 49152) (3)); + + /* ++ map (x : { containerPort = x; hostPort = x; protocol = "udp";