From f87c3482e691160644d181691ae509c1e6434f79 Mon Sep 17 00:00:00 2001 From: uku Date: Mon, 30 Sep 2024 18:31:13 +0200 Subject: [PATCH] fix(utils): open ports for minecraft servers --- global/utils.nix | 2 ++ systems/etna/minecraft.nix | 1 + 2 files changed, 3 insertions(+) diff --git a/global/utils.nix b/global/utils.nix index f8f7483..fc51916 100644 --- a/global/utils.nix +++ b/global/utils.nix @@ -50,6 +50,8 @@ // env; }; + networking.firewall.allowedTCPPorts = [port]; + services.frp.settings.proxies = [ { inherit name remotePort; diff --git a/systems/etna/minecraft.nix b/systems/etna/minecraft.nix index b7988e3..f6e0f86 100644 --- a/systems/etna/minecraft.nix +++ b/systems/etna/minecraft.nix @@ -45,6 +45,7 @@ USE_AIKAR_FLAGS = "true"; TYPE = "MODRINTH"; MODRINTH_MODPACK = "https://modrinth.com/modpack/adrenaline/version/1.24.0+1.21.1.fabric"; + MODRINTH_PROJECTS = "spark, no-chat-reports"; }; }; in {