## Summary - Add `dagger` to `hostPackages` for the ringtail nix-container-builder runner - Needed for `dagger call nix-version` fallback in the nix build workflow (authentik) - `hostPackages` is scoped to the runner's systemd unit PATH, not system-wide - Marks `install-dagger-on-nix-runner` Mikado card complete ## Deployment and Testing - [ ] Merge, then `mise run provision-ringtail` - [ ] `mise run container-build-and-release authentik` to verify nix build succeeds Reviewed-on: https://forge.ops.eblu.me/eblume/blumeops/pulls/234
1.3 KiB
1.3 KiB
| title | modified | tags | |||
|---|---|---|---|---|---|
| Install Dagger on Nix Runner | 2026-02-20 |
|
Install Dagger on Nix Runner
Install the Dagger CLI on the ringtail nix-container-builder runner so that the nix container build workflow can use dagger call nix-version to extract package versions from nixpkgs.
Context
The build-container-nix.yaml workflow extracts container versions in this order:
version = "..."fromdefault.nix(e.g. ntfy)ARG CONTAINER_APP_VERSION=from Dockerfile (e.g. nettest)dagger call nix-version --package=<name>for nixpkgs packages (e.g. authentik)
Step 3 fails on the ringtail nix runner because dagger is not installed. The runner currently only has nix, skopeo, and jq.
What to Do
- Add
daggerto the ringtail nix runner environment innixos/ringtail/configuration.nix(or equivalent) - Verify
daggeris available in the runner's PATH - Re-run
mise run container-build-and-release authentikto confirm the nix build succeeds
Verification
ssh ringtail 'which dagger'returns a path- Authentik nix build workflow completes successfully
dagger call nix-version --package=authentikworks on the runner
Related
- adopt-commit-based-container-tags — Parent card
- harden-zot-registry — Root goal