From 8e70f3e45a272504bb8e860e8ecf5a9c3e47b5d0 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Mon, 21 Feb 2022 12:37:05 -0500 Subject: [PATCH] fix(soft-serve): allow port through firewall --- modules/functionality/soft-serve.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/functionality/soft-serve.nix b/modules/functionality/soft-serve.nix index 02d7826..edc045d 100644 --- a/modules/functionality/soft-serve.nix +++ b/modules/functionality/soft-serve.nix @@ -32,5 +32,7 @@ in script = "${pkgs.soft-serve}/bin/soft"; serviceConfig.Type = "exec"; }; + + networking.firewall.allowedTCPPorts = [ cfg.port ]; }; }