Expand description
Configuration module for void
Manages repository and user settings stored in .void/config.json.
Structs§
- Config
- Repository configuration
- Core
Config - Core repository settings
- Ipfs
Config - IPFS backend configuration
- Remote
Config - Remote endpoint configuration.
- TorConfig
- Tor integration configuration.
- TorHidden
Service Config - Tor hidden service configuration.
- TorKubo
Config - Kubo-specific Tor integration options.
- User
Config - 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)