-
Notifications
You must be signed in to change notification settings - Fork 0
Global User Config
Leonard Ramminger edited this page Aug 9, 2026
·
1 revision
Machine-wide Beez preferences live in a single Lua file outside any project.
~/.config/beez/config.lua
If XDG_CONFIG_HOME is set:
$XDG_CONFIG_HOME/beez/config.lua
Beez loads this file automatically on every run. You do not reference it from build.lua.
If the file is missing or HOME is unset, Beez skips global config and uses defaults plus project settings.
Copy the example from the Beez repository:
mkdir -p ~/.config/beez
cp scripts/config.lua.example ~/.config/beez/config.luaEdit the copy to match your preferences.
return {
performance = {
max_threads = 8,
},
ui = {
output_mode = "clean",
colors = true,
theme = "gruvbox",
themes = {
gruvbox = {
text = "#ebdbb2",
muted = "#928374",
success = "#b8bb26",
error = "#fb4934",
},
},
},
}| Use case | Example setting |
|---|---|
| Preferred thread count | performance.max_threads |
| Personal color theme |
ui.theme, ui.themes
|
| Quieter default output | ui.output_mode = "errors" |
| Disable cache globally (unusual) | cache.enabled = false |
| Default env vars for all projects | env.vars |
Put settings in project config.lua when they belong to the repo:
- Toolchain variables (
CC,BUILD_TYPE, ...) - Cache path relative to the project
- CI-relevant env defaults
- Anything teammates should share via git
Global config is for personal taste and machine-specific defaults.
Project beez.config() overrides global config for the same key. CLI flags override both.
Verify the result:
cd my-project
beez --show-configThe origin column shows whether a value came from global, project, default, or CLI.
- Project Config - repo-level settings
- Configuration Overview - full merge order
- UI and Output - theme and output options
Quick Reference · Glossary · FAQ
- Fundamentals
- Core Concepts
- Project Layout
- First Pipeline
- Phases and Scopes
- How Phases and Scopes Work
- Selecting with Phases and Scopes
- Designing Phases and Scopes
- Parallel Execution and Dependencies
- Configuration
- Configuration Overview
- Global User Config
- Project Config
- Environment Variables
- Performance Settings
- Cache Settings
- Config Reference
- CLI
- CLI Overview
- Running Targets
- Filtering by Phase
- Running a Single Step
- Listing Entities
- Output and Logging Flags
- Cache and Maintenance Flags
- Meta and Utility Commands
-
Project Scaffolding —
beez --init(embedded Tempify) - CLI Flag Reference
- Lua DSL
- DSL Overview
- Plugin System — Plugins, Config DSL, Standard-Workflows
- Step Declaration
- Task Declaration
- Workflow Declaration
- Order Declaration
- Configure Step
- ReqPack Declaration
- Beez API
- Step Context
- DSL Patterns
- Caching
- Caching Overview
- Step Cache
- Success Cache
- Glob Metadata Cache
- Artifact Patterns
- Cache Keys and Invalidation
- Cache Storage and Maintenance
- Caching Troubleshooting
- UI and Output
- Output Modes
- Progress and Animation
- Colors and Themes
- Run Summaries
- Logging and Log Files
- Development and Contribution
- Building and Setup
- Repository Layout
- Testing
- Code Quality
- Feature Development Workflow
- Submitting Changes