Skip to main content

Module config

Module config 

Source
Expand description

TOML schema for yui configuration.

Loading flow:

  1. list config.toml + config.*.toml (alphabetical) + config.local.toml (last)
  2. for each file: Tera-render with yui.* + env(…) + accumulated vars.* from prior files → parse TOML → merge into accumulator (deep merge, arrays append).
  3. 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§

AbsorbConfig
BackupConfig
Config
LinkConfig
MountConfig
MountEntry
RenderConfig
RenderRule
UiConfig

Enums§

AnomalyAction
DirLinkMode
FileLinkMode
IconsMode
MountStrategy

Functions§

load
Load + merge config files from $DOTFILES.