From 93dfe572291d17f592fb2292eb51a6b20fe23156 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 12 Aug 2023 10:13:28 +0100 Subject: [PATCH] debugging dns settings on ci --- .gitea/workflows/build.yaml | 3 +++ nixos/boxes/bolty/gitea-runner.nix | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 899e0ab1..e9f6bad8 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -7,6 +7,9 @@ jobs: build: runs-on: flakes-action steps: + - name: dns settings + run: | + cat /etc/resolv.conf - uses: actions/checkout@v3 name: Checkout - name: Metadata diff --git a/nixos/boxes/bolty/gitea-runner.nix b/nixos/boxes/bolty/gitea-runner.nix index e64ae2c9..72a3ce1e 100644 --- a/nixos/boxes/bolty/gitea-runner.nix +++ b/nixos/boxes/bolty/gitea-runner.nix @@ -11,7 +11,10 @@ in virtualisation.podman = { enable = true; autoPrune.enable = true; - defaultNetwork.settings = { dns_enabled = true; }; + defaultNetwork.settings = { + dns = ["9.9.9.9"]; + dns_enabled = false; + }; }; disabledModules = [ "services/continuous-integration/gitea-actions-runner.nix" ]; imports = [ "${unstable}/nixos/modules/services/continuous-integration/gitea-actions-runner.nix" ];