From e24b54fa1379c7875a5ce8daa7f69eef3cc56f2d Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Wed, 15 May 2024 07:45:21 -0500 Subject: [PATCH] Open port for runner cache communication. --- agents/linux.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/agents/linux.nix b/agents/linux.nix index 3bf16d2..546f0f1 100644 --- a/agents/linux.nix +++ b/agents/linux.nix @@ -29,6 +29,9 @@ in { users.users.gitea-runner.extraGroups = [ "docker" ]; users.users.gitea-runner.isNormalUser = true; + # Runner communication port for cache restores. + networking.firewall.allowedTCPPorts = [ 45315 ]; + services.gitea-actions-runner = { package = pkgs.forgejo-actions-runner; instances.default = {