feat(deploy): add NixOS deployment module #136

Merged
jwilger merged 1 commit from issue-135-nixos-deployment into main 2026-05-07 13:24:56 -07:00
Owner

Summary

  • Exposes first-class NixOS module outputs for package-only installs and gateway service deployments.
  • Adds a flake contract check covering module defaults, package install, systemd service wiring, environment file, state directory, and explicit bare-mode posture.
  • Documents Nix/NixOS CLI, OCI, systemd module, and out-of-store secret configuration examples.

Verification

  • nix build .#checks.x86_64-linux.auto-review-nixos-module-contract
  • nix flake check

Closes #135

## Summary - Exposes first-class NixOS module outputs for package-only installs and gateway service deployments. - Adds a flake contract check covering module defaults, package install, systemd service wiring, environment file, state directory, and explicit bare-mode posture. - Documents Nix/NixOS CLI, OCI, systemd module, and out-of-store secret configuration examples. ## Verification - nix build .#checks.x86_64-linux.auto-review-nixos-module-contract - nix flake check Closes #135
feat(deploy): add NixOS deployment module
All checks were successful
CI / Nix flake check (pull_request) Successful in 3m24s
CI / auto_review semantic review (pull_request) Successful in 1s
auto_review auto_review: no findings
Publish release / release-publish (pull_request) Has been skipped
c027136dd7
auto-review left a comment

This PR introduces a NixOS deployment module for the auto_review project, adding support for package-only installs and gateway service deployments. It includes a flake contract check to ensure module defaults and configurations are correctly set. The changes appear safe to merge, with comprehensive documentation and testing included.

Walkthrough

  • QUICKSTART.md:

    • Added a new section detailing deployment options using Nix/NixOS.
    • Provided examples for installing the CLI, building the production image, and configuring the gateway service.
    • Included instructions for setting up environment files and using secret managers.
  • flake.nix:

    • Introduced a NixOS module for the auto_review project.
    • Defined options for enabling the CLI and gateway service, specifying packages, and configuring environment files.
    • Added a flake contract check to validate module configurations and defaults.
    • Ensured the gateway service is correctly set up with systemd, including environment and state directory configurations.
This PR introduces a NixOS deployment module for the auto_review project, adding support for package-only installs and gateway service deployments. It includes a flake contract check to ensure module defaults and configurations are correctly set. The changes appear safe to merge, with comprehensive documentation and testing included. ## Walkthrough - **QUICKSTART.md**: - Added a new section detailing deployment options using Nix/NixOS. - Provided examples for installing the CLI, building the production image, and configuring the gateway service. - Included instructions for setting up environment files and using secret managers. - **flake.nix**: - Introduced a NixOS module for the auto_review project. - Defined options for enabling the CLI and gateway service, specifying packages, and configuring environment files. - Added a flake contract check to validate module configurations and defaults. - Ensured the gateway service is correctly set up with systemd, including environment and state directory configurations.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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!136
No description provided.