Skip to content

feat(nix): add reproducible dev environment with nix flakes#53

Merged
jasoet merged 7 commits intomainfrom
feat/nix-integration
Mar 28, 2026
Merged

feat(nix): add reproducible dev environment with nix flakes#53
jasoet merged 7 commits intomainfrom
feat/nix-integration

Conversation

@jasoet
Copy link
Copy Markdown
Owner

@jasoet jasoet commented Mar 28, 2026

Summary

  • Add flake.nix declaring all dev tools (Go, golangci-lint, gofumpt, gosec, podman, docker-client, podman-compose, bun, jq)
  • All Taskfile commands now execute through nix develop -c via a {{.N}} variable — guarantees consistent, pinned tool versions
  • CI workflows updated to run commands directly (no task/nix dependency) since GitHub Actions provides its own tools
  • Added task nix:check and task nix:update for environment management
  • Removed task tools (Nix replaces go install for dev tool provisioning)
  • Documentation updated with Nix setup instructions

Prerequisites

  • Nix with flakes enabled
  • go-task (global: nix profile install nixpkgs#go-task)

Test plan

  • task nix:check — all tools verified
  • task test — all unit tests pass
  • task lint — 0 issues
  • task --list — all 20 tasks parse correctly
  • CI passes (workflows run commands directly without Nix)

@jasoet jasoet merged commit 40a344c into main Mar 28, 2026
2 checks passed
@jasoet jasoet deleted the feat/nix-integration branch March 28, 2026 07:57
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