Skip to content

Configuration

gmux works out of the box with no configuration. Everything is customizable through three config files in ~/.config/gmux/:

FilePurposeReference
host.tomlDaemon behavior: port, Tailscale remote access, devcontainer discoveryhost.toml →
settings.jsoncTerminal options, keybinds, UI preferencessettings.jsonc →
theme.jsoncTerminal color palette (Windows Terminal theme compatible)theme.jsonc →

All files are optional. Create or edit them manually. The only exception is gmux remote, which can add [tailscale] to host.toml with your confirmation.

Settings and theme changes take effect on browser refresh (no daemon restart needed). Host config changes require restarting gmuxd.

Not everything lives in config files. gmux keeps daemon-owned state in ~/.local/state/gmux/:

  • Peers are added at runtime via Settings → Hosts → Connect to host and stored in the daemon’s SQLite database (state.db) — they are not configured in host.toml.
  • Projects are managed via Settings → Projects and stored in state.db.
  • The host auth token lives in auth-token (seedable with GMUXD_TOKEN); gmux auth prints it along with a login/pairing URL.

See Multi-machine and File paths for details.