Where is OpenAI Codex config.toml located on macOS, Linux, and WSL2?
User-wide settings live at ~/.codex/config.toml (or $CODEX_HOME/config.toml). Project-specific overrides live at .codex/config.toml inside your repository root, which Codex loads only after the project is marked trusted.