Skip to content

Environment Variables

These variables tune paths and behaviour for dot. Most have sensible defaults; set them only when you need to override the default.

VariableDescription
DOTFILES_PUBLIC_DIRPublic dotfiles path (default ~/.config/dotfiles).
DOTFILES_PRIVATE_DIRPrivate dotfiles path (default ~/.config/dotfiles-private).
DOT_ALLOW_PRIVATEauto|always|never (default auto).
DOT_PRIVATE_GH_USERExpected GitHub user for private actions (default timmo001).
VariableDescription
DOT_GIT_CONFIG_FILEPrivate git repo config for git-diff, git-log, git-workflows, git-notifications --bar-json, update, and doctor (default $DOTFILES_PRIVATE_DIR/dot-git.yml).
DOT_INCLUDE_OMARCHY_DIFF_REPOSInclude Omarchy repos in dot git-diff (1|0, default 1).
DOT_INCLUDE_OMARCHY_UPDATE_REPOSInclude Omarchy repos in dot update sync (1|0, default 1).
DOT_FETCH_TTL_SECONDSSeconds to reuse the last upstream fetch (default 300).
DOT_AUTO_CDzsh wrapper auto-cd to the first repo with changes after dot git-diff (1|0, default 1).
VariableDescription
DOT_PRIVATE_PACKAGE_REPO_FILEPrivate pacman repo config (default $DOTFILES_PRIVATE_DIR/.dot-private-package-repo).
DOT_PRIVATE_PACKAGES_FILEPrivate package list (default $DOTFILES_PRIVATE_DIR/.dot-private-packages).
DOT_PRIVATE_PACMAN_REPO_CONFIGPacman repo snippet path written by dot (default /etc/pacman.d/timmo-private.conf).
VariableDescription
OMARCHY_REPO_BASE_DIROmarchy repo base path (default ~/.config).
OMARCHY_HOSTHypr host override name; dot init defaults to desktop when unset unless --host <name> is passed.
DOT_OMARCHY_BRANCHBranch override for non-bootstrap Omarchy repos during sync.
DOT_BOOTSTRAP_BRANCHBranch for bootstrap sync (default distro/omarchy).
VariableDescription
DOT_INIT_NONINTERACTIVEForce non-interactive init mode (1|0, default 0).
DOT_INIT_LOG_FILEDefault dot init log path when --log is not passed (default /tmp/dot-init.log).
DOT_DAILY_VOLUME_ZERO_TIMER_UNIT5am volume reset timer unit name (default daily-volume-zero.timer).
VariableDescription
DOT_AGENTS_SYNC_SOURCEAGENTS file to mirror (default ~/.config/opencode/AGENTS.md).
DOT_AGENTS_SYNC_RULE_FILECursor rule output path (default $DOTFILES_PRIVATE_DIR/agents/.cursor/rules/global-agents.mdc, else ~/.cursor/rules/global-agents.mdc).
DOT_AGENTS_SYNC_ON_UPDATERun agents-sync after dot update (1|0, default 1).
VariableDescription
NOTESNotes vault git repo used by dot notes and OpenCode note commands (preferred; default ~/Documents/notes).
DOT_NOTES_DIRCompatibility notes vault override used when NOTES is unset.