# Single source of truth for every machine. # # Consumed by home/dot_config/metapac/config.toml.tmpl, which renders metapac's # [hostname_enabled_backends] and [hostname_groups] tables from it. # # Adding a machine = adding one entry here. Nothing else needs to change. # # Fields: # backends metapac backends enabled on this host # groups metapac group files (home/dot_config/metapac/groups/.toml) # # Every host ALSO implicitly gets groups/hosts/.toml, its baseline of # OS-install packages. Do not list it here; config.toml.tmpl prepends it. See # the README section "Why every host needs a baseline group". # # OS and architecture are deliberately absent: chezmoi detects them itself via # .chezmoi.os, .chezmoi.osRelease.id and .chezmoi.arch, which cannot drift out # of sync with the machine the way a hand-written field can. # Key each host by chezmoi's .chezmoi.hostname -- the name up to the first dot. # macOS reports a trailing ".local" to metapac; config.toml.tmpl emits that # alias for you, so never write it here. [hosts.thousand-sunny] backends = ["arch", "cargo"] groups = ["common", "ai", "archlinux", "gaming", "internet", "coding", "gamedev", "homelab"] [hosts.Laugh-Tale] backends = ["brew", "mas", "cargo"] groups = ["common", "darwin", "coding", "homelab"] # TODO: fill in the real hostnames, then uncomment. # # [hosts.CHANGEME-remote] # backends = ["brew", "cargo"] # groups = ["common", "darwin", "coding"] # # [hosts.CHANGEME-work] # backends = ["brew", "mas", "cargo"] # groups = ["common", "darwin", "ai", "internet", "coding", "work"]