From d0a795e52f94bfe778b77d5bea594c38eb86309b Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Tue, 24 Feb 2026 14:34:34 +0100 Subject: [PATCH] Use host mode for docker network In order to reduce the traffic of the secondary Ethernet device we need to be able to directly use the physical device instead of the virtual one. For now use the host mode and see later if we can revert it. --- m/tent/gitlab-runner.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/m/tent/gitlab-runner.nix b/m/tent/gitlab-runner.nix index 166b8ca5..6bd12e11 100644 --- a/m/tent/gitlab-runner.nix +++ b/m/tent/gitlab-runner.nix @@ -43,6 +43,7 @@ registrationFlags = [ # Increase build log length to 64 MiB "--output-limit 65536" + "--docker-network-mode host" ]; preBuildScript = pkgs.writeScript "setup-container" '' mkdir -p -m 0755 /nix/var/log/nix/drvs