diff --git a/containers/srb2.nix b/containers/srb2.nix index 48801375..c4bc5c67 100644 --- a/containers/srb2.nix +++ b/containers/srb2.nix @@ -4,6 +4,8 @@ containers.srb2 = { privateNetwork = true; ephemeral = true; + hostAddress = "192.168.100.10"; + localAddress = "192.168.100.11"; bindMounts = { "/home/user/.srb2" = { @@ -41,6 +43,13 @@ ../setup.nix ]; + networking.nat.forwardPorts = [ + { + destination = "192.168.100.11:5029"; + sourcePort = 5029; + } + ]; + environment.systemPackages = with pkgs; [ srb2 ];