03 – Enable NixOS Hosts to Offload Builds to Nova #234

Closed
opened 2026-09-19 20:28:06 +01:00 by nimmo · 0 comments
Owner

Goal

Add reusable declarative NixOS client configuration that lets explicitly opted-in hosts offload eligible builds to Nova's Fedora-hosted remote builder.

Dependencies

Blocked by #232 and #233.

Requirements

  • Use the supported Nix distributed-build options; keep Nova-specific addresses, identity, supported platforms/features, speed factor, and concurrency policy separate from reusable client logic.
  • Define exactly which system types and features Nova may advertise. Do not advertise features merely because they happen to be enabled locally.
  • Enable builders-use-substitutes only with the reviewed cache/substituter and signing-key policy.
  • Support an explicit remote-only mode for validation while retaining a documented emergency local-build path.
  • Do not require Nova to host a checkout of nixos-config.
  • Document what remains local: evaluation, source acquisition, closure realization/copy, and activation.

Validation

  • Enable one suitable test client and prove a non-substituted derivation is selected and built on Nova.
  • Prove a remote-only invocation does not compile locally.
  • Exercise cache-hit and builder-unavailable cases, including the documented local recovery path.
  • Add focused regression/configuration validation for the reusable module.
## Goal Add reusable declarative NixOS client configuration that lets explicitly opted-in hosts offload eligible builds to Nova's Fedora-hosted remote builder. ## Dependencies Blocked by #232 and #233. ## Requirements - Use the supported Nix distributed-build options; keep Nova-specific addresses, identity, supported platforms/features, speed factor, and concurrency policy separate from reusable client logic. - Define exactly which system types and features Nova may advertise. Do not advertise features merely because they happen to be enabled locally. - Enable `builders-use-substitutes` only with the reviewed cache/substituter and signing-key policy. - Support an explicit remote-only mode for validation while retaining a documented emergency local-build path. - Do not require Nova to host a checkout of `nixos-config`. - Document what remains local: evaluation, source acquisition, closure realization/copy, and activation. ## Validation - Enable one suitable test client and prove a non-substituted derivation is selected and built on Nova. - Prove a remote-only invocation does not compile locally. - Exercise cache-hit and builder-unavailable cases, including the documented local recovery path. - Add focused regression/configuration validation for the reusable module.
nimmo changed title from 03 - Enable NixOS Hosts to Offload Builds to view to 03 – Enable NixOS Hosts to Offload Builds to Nova 2026-09-19 21:01:23 +01:00
nimmo added reference feat/issue-234-nova-builder-opt-in 2026-09-20 07:16:19 +01:00
nimmo closed this issue 2026-09-20 08:24:07 +01:00
Sign in to join this conversation.
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
nimmo/nixos-config#234
No description provided.