From 6479230b44cf4141bd283ce58e801063de89dfca Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 1 Dec 2026 12:53:30 +0000 Subject: docs: source lists from a host's configuration --- docs/design.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/design.md b/docs/design.md index e488586..8996468 100644 --- a/docs/design.md +++ b/docs/design.md @@ -570,6 +570,12 @@ for each item, its source, whether it is required, and its group: } ``` +On NixOS, a host's source lists can come from its own configuration: a +slot says where its entry comes from (`source`, a source or a location with +its variables), and the module gives a source list per channel +(`enstate.sourceLists`), which the deploying host evaluates and packs. It +holds commands and paths, never a secret, and isn't part of the system. + Source lists are JSON, or TOML, which maps onto the same data; the extension says which. Sources and their interpolation are those of continuum's `config` crate (continuum's `docs/configuration.md`, on @@ -597,7 +603,7 @@ with variables from each item's fields, which its placeholders take as { "locations": { "secrets": { - "source": { "command": ["secrets", "$(env:HOSTNAME)", "show", "$(var:key)"] } + "source": { "command": ["secrets", "web", "show", "$(var:key)"] } } }, "channel": "secrets", -- cgit v1.3.1