diff options
Diffstat (limited to 'docs/design.md')
| -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", |
