Add first-class NixOS deployment support #135

Closed
opened 2026-05-07 11:44:28 -07:00 by jwilger · 0 comments
Owner

Follow-up from PR #133 review.

Problem

The flake currently exposes the installable auto-review package, the OCI image, and the dev container runner, but it does not expose a first-class NixOS module for operators who want to deploy auto_review through Nix/NixOS.

Scope

  • Add flake outputs for Nix/NixOS deployment paths as appropriate:
    • installable package/program remains available;
    • containerized deployment via the existing OCI image is documented and easy to consume;
    • systemd/bare deployment can be expressed as a NixOS module/service;
    • plain installation without enabling the service is supported.
  • Keep the Docker/OCI image as the recommended production posture unless the operator explicitly chooses a different isolation boundary.
  • Document how NixOS users configure credentials without committing secrets.

Acceptance criteria

  • flake.nix exposes a supported NixOS module or equivalent module output for the gateway service.
  • Docs show Nix/NixOS examples for containerized deployment, systemd-style service deployment, and installing only the auto-review program.
  • Tests or flake checks cover the module/options sufficiently to prevent regressions.

Origin: jwilger/auto_review#133 (comment)

Follow-up from PR #133 review. ## Problem The flake currently exposes the installable `auto-review` package, the OCI image, and the dev container runner, but it does not expose a first-class NixOS module for operators who want to deploy `auto_review` through Nix/NixOS. ## Scope - Add flake outputs for Nix/NixOS deployment paths as appropriate: - installable package/program remains available; - containerized deployment via the existing OCI image is documented and easy to consume; - systemd/bare deployment can be expressed as a NixOS module/service; - plain installation without enabling the service is supported. - Keep the Docker/OCI image as the recommended production posture unless the operator explicitly chooses a different isolation boundary. - Document how NixOS users configure credentials without committing secrets. ## Acceptance criteria - `flake.nix` exposes a supported NixOS module or equivalent module output for the gateway service. - Docs show Nix/NixOS examples for containerized deployment, systemd-style service deployment, and installing only the `auto-review` program. - Tests or flake checks cover the module/options sufficiently to prevent regressions. Origin: https://git.johnwilger.com/jwilger/auto_review/pulls/133#issuecomment-3543
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Slipstream/auto_review#135
No description provided.