From d8b4fc62b58901c7b0d1b24f2bb21e0359eb86e7 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Fri, 20 Feb 2026 23:08:21 -0800 Subject: [PATCH] Add dagger to nix-container-builder runner hostPackages The nix workflow's version extraction fallback (dagger call nix-version) needs dagger available on the ringtail runner. hostPackages is scoped to the runner's systemd unit PATH, not system-wide. Co-Authored-By: Claude Opus 4.6 --- docs/how-to/zot/install-dagger-on-nix-runner.md | 1 - docs/reference/infrastructure/ringtail.md | 1 - nixos/ringtail/configuration.nix | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/how-to/zot/install-dagger-on-nix-runner.md b/docs/how-to/zot/install-dagger-on-nix-runner.md index 2c5c502..f7960ac 100644 --- a/docs/how-to/zot/install-dagger-on-nix-runner.md +++ b/docs/how-to/zot/install-dagger-on-nix-runner.md @@ -1,7 +1,6 @@ --- title: Install Dagger on Nix Runner modified: 2026-02-20 -status: active tags: - how-to - ci diff --git a/docs/reference/infrastructure/ringtail.md b/docs/reference/infrastructure/ringtail.md index 70b4ebe..eba2883 100644 --- a/docs/reference/infrastructure/ringtail.md +++ b/docs/reference/infrastructure/ringtail.md @@ -96,7 +96,6 @@ A native Forgejo Actions runner (`ringtail-nix-builder`) runs as a systemd servi | **Execution** | Host (no containers) | | **Token** | `/etc/forgejo-runner/token.env` (provisioned by Ansible) | | **Service unit** | `gitea-runner-nix_container_builder.service` | -| **Host packages** | bash, coreutils, curl, gawk, git, gnused, jq, nodejs, wget, nix, skopeo | The runner resolves `` from the flake registry at build time. Container trust policy (`/etc/containers/policy.json`) and registry search order (`/etc/containers/registries.conf`) are configured minimally in `configuration.nix` for skopeo — no full `virtualisation.containers` module needed. diff --git a/nixos/ringtail/configuration.nix b/nixos/ringtail/configuration.nix index 5a0035b..83246e4 100644 --- a/nixos/ringtail/configuration.nix +++ b/nixos/ringtail/configuration.nix @@ -500,7 +500,7 @@ in tokenFile = "/etc/forgejo-runner/token.env"; labels = [ "nix-container-builder:host" ]; hostPackages = with pkgs; [ - bash coreutils curl gawk gitMinimal gnused jq nodejs wget + bash coreutils curl dagger gawk gitMinimal gnused jq nodejs wget nix skopeo ]; settings = { -- 2.50.1 (Apple Git-155)