Skip to main content

Module config

Module config 

Source

Structs§

Config
Resolved configuration for a nex session.
IdentityConfig
Identity-related configuration.
IdentityGitConfig
Git signing config stored in nex config.
IdentitySshConfig
SSH key labels registered for this identity.
RegistryConfig

Constants§

CONFIG_FILE
CONFIG_TOML_COMPAT_FILE

Functions§

append_to_list
Append a string to an array config value, creating it if it doesn’t exist. Skips duplicates.
canonical_config_path
config_dir
Canonical config directory: ~/.config/nex/
export_config_toml
load_identity_config
Load just the identity portion of the config (does not require a nix repo).
migrate_to_pkl
set_nested_preference
Set a nested config key using dotted notation (e.g. “identity.git.name”). Creates intermediate tables as needed.
set_preference
Persist a key=value into the config file, preserving existing content.
toml_compat_config_path
write_initial_config