Skip to content

chore: add nix flake for reproducible dev environment#17

Merged
jasoet merged 2 commits intomainfrom
chore/nix-onboarding
Mar 29, 2026
Merged

chore: add nix flake for reproducible dev environment#17
jasoet merged 2 commits intomainfrom
chore/nix-onboarding

Conversation

@jasoet
Copy link
Copy Markdown
Owner

@jasoet jasoet commented Mar 29, 2026

Summary

  • Add flake.nix with Go toolchain (go 1.26.1, golangci-lint, gofumpt, gosec, gotools, jq)
  • Replace ubuntu-latest GitHub Actions with self-hosted Nix runner (mac-mini-m4)
  • Wrap all Taskfile tool commands with {{.N}} (nix develop -c) for consistent environments
  • Add .envrc for direnv integration and nix:check/nix:update tasks

Test plan

  • nix flake check passes
  • All tool versions verified via task nix:check
  • task ci:test — 22 packages pass
  • task lint — 0 issues
  • CI pipeline runs on self-hosted runner

🤖 Generated with Claude Code

jasoet added 2 commits March 30, 2026 03:35
Replace ubuntu-latest GitHub Actions with self-hosted Nix runner on Mac Mini.
Wrap all Taskfile tool commands with nix develop for consistent environments.
…ement

The self-hosted runner doesn't have a running Podman machine,
so use unit-only tests in CI pipelines.
@jasoet jasoet merged commit 561b50f into main Mar 29, 2026
1 check passed
@jasoet jasoet deleted the chore/nix-onboarding branch March 29, 2026 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant