Skip to main content

Module config

Module config 

Source
Expand description

Configuration module for void

Manages repository and user settings stored in .void/config.json.

Structs§

Config
Repository configuration
CoreConfig
Core repository settings
IpfsConfig
IPFS backend configuration
RemoteConfig
Remote endpoint configuration.
TorConfig
Tor integration configuration.
TorHiddenServiceConfig
Tor hidden service configuration.
TorKuboConfig
Kubo-specific Tor integration options.
UserConfig
User identity configuration

Functions§

get
Get a config value by dotted key (e.g., “user.name”, “core.compression_level”)
list
List all config values as flat key-value pairs
load
Load config from .void/config.json
load_repo_secret
Load the repo_secret from config.json, falling back to a vault-derived secret.
save
Save config to .void/config.json
set
Set a config value by dotted key
unset
Unset a config value (set to None/default)