diff options
| author | tv <tv@krebsco.de> | 2026-12-01 12:53:30 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-12-01 14:40:21 +0100 |
| commit | 6479230b44cf4141bd283ce58e801063de89dfca (patch) | |
| tree | 60805e1e65b984cf92a9829009cc8628f99d2303 /docs | |
| parent | 12ecf6015bc2bec3110c89be7eebe871463cdf5c (diff) | |
docs: source lists from a host's configuration
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/design.md | 8 |
1 files changed, 7 insertions, 1 deletions
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", |
