Skip to content

docs(index): purely declarative — implementation & design choices, board-driven what's next - #41

Merged
shsingh merged 4 commits into
masterfrom
docs/index-purely-declarative
Oct 1, 2026
Merged

shsingh merged 4 commits into
masterfrom
docs/index-purely-declarative

Conversation

@shsingh

@shsingh shsingh commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Why Nix end-to-end -> Purely declarative: implementation and design choices spelled out —

  • dockerTools.buildLayeredImage images from nix/images.nix (no Dockerfiles, no floating bases)
  • appliance as NixOS modules (services.openvpn/dnsmasq/clamav + services.opensase)
  • Kubernetes manifests as CUE (k8s/manifests.cue -> cue export -> committed k8s/manifests.yaml), typed service model so surfaces can't drift
  • PKI via flake apps (vpn-init, vpn-getclient, vendored easyRSA)

Adds a flake -> surfaces mermaid diagram; flow diagram moves up under the intro.
Replaces the ad-hoc Status table with a link to the Roadmap project board + v0.1.x shortlist.

…moke dumps always

Rehearsal #3: dnsmasq fix confirmed (Healthy); clamav now the last failing
container, exiting 1 in <1s with zero output. Diagnosis: the image has no
PATH that resolves install(1) (contents are not PATH entries) and no
shell — the entry died on its first command, after which the failure dump
(firing on failure) raced the container logs. Fix: install by absolute
store path (Nix convention: no PATH lookups in image entrypoints), bash
added to clamav + mitmproxy image contents for the writeShellScript
shebang, and the smoke dump step now runs if: always() with runtime-state
inspection so any future failure is fully captured.
Why Nix end-to-end -> Purely declarative: explains the implementation and design choices (dockerTools.buildLayeredImage images, NixOS-module appliance, CUE-rendered k8s manifests, flake-app PKI) with a flake -> surfaces diagram. Flow diagram moves up under the intro. Ad-hoc Status table replaced by a link to the Roadmap project board + v0.1.x shortlist.
@shsingh
shsingh enabled auto-merge (squash) October 1, 2026 02:19
@shsingh
shsingh merged commit a1744eb into master Oct 1, 2026
3 checks passed
@shsingh
shsingh deleted the docs/index-purely-declarative branch October 1, 2026 02:25
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