Expand description
TOML schema for yui configuration.
Loading flow:
- list
config.toml+config.*.toml(alphabetical) +config.local.toml(last) - for each file: Tera-render with
yui.*+env(…)+ accumulatedvars.*from prior files → parse TOML → merge into accumulator (deep merge, arrays append). - deserialize the final merged table into
Config.
Note: a file cannot reference its own [vars] keys from non-[vars]
sections (the file is rendered before its own vars are accumulated).
Use prior files in merge order if you need cross-section references.
Structs§
- Absorb
Config - Backup
Config - Config
- Hook
Config - One hook = one script invocation triggered around
yui apply. - Link
Config - Mount
Config - Mount
Entry - Render
Config - Render
Rule - Secrets
Config [secrets]— wires the age encryption pipeline into apply.- UiConfig
- Vault
Config [secrets.vault]— points yui at a vault item that holds the X25519 identity. yui doesn’t authenticate against the vault itself; it shells out to the provider’s official CLI (bworop), which already knows how to drive its own auth flow (master password, biometric, passkey-via-web-vault, SSO).
Enums§
Functions§
- load
- Load + merge config files from
$DOTFILES.