Configuration¶
All configuration lives in ~/.config/toolTamer/configs/. ToolTamer uses your machine's hostname to find the right config directory.
Directory Structure¶
~/.config/toolTamer/configs/
├── common/ # Base config — inherited by ALL hosts
│ ├── to_install.brew
│ ├── to_install.apt
│ ├── files.conf
│ └── files/
├── common_mac/ # Optional macOS-specific base
│ ├── to_install.brew
│ ├── local_install.sh
│ ├── files.conf
│ └── files/
└── myMacBook/ # Host-specific config
├── includes.conf
├── to_install.brew
├── local_install.sh
├── taps
├── files.conf
└── files/
Configuration Hierarchy¶
ToolTamer resolves configs in this order:
common/— always included for every host- Configs listed in
includes.conf— additional layers (e.g.common_mac) - Host directory — your machine's hostname
When the same file or package appears in multiple layers, the more specific layer wins: host overrides includes, includes override common.
Includes are not recursive
If an included config has its own includes.conf, it is ignored. Only the host's includes.conf is processed.
Configuration Files¶
to_install.brew / to_install.apt / to_install.pacman¶
One package name per line. Comments start with #.
ToolTamer ensures exactly these packages are installed. Packages present on the system but not in any config file will be offered for removal (dependencies are preserved).
files.conf¶
Maps files in the files/ subdirectory to their target location relative to $HOME.
# Format: filename:target_relative_to_home
myzshrc:.zshrc
myKittyConf:.config/kitty/kitty.conf
shellScript:bin/
- If the target ends with
/, the file keeps its original name and is placed in that directory. - Comparison uses SHA256 checksums — if checksums differ, ToolTamer asks what to do.
includes.conf¶
A simple list of config directory names to include, one per line:
local_install.sh¶
An optional shell script executed every time tt --syncSys (or "Update System") runs. Scripts are executed in order: common → includes → host.
Use this for installations that can't be handled by the package manager (e.g. manual downloads, pip installs, font installations).
taps (macOS only)¶
A list of Homebrew taps, one per line:
Global Settings¶
ToolTamer's own settings are in ~/.config/toolTamer/tt.conf: