How-to guides

Add a Machine Layer

Keep what is true of one machine only - a local tool's permission, a hardware setting - in its own layer.

A Machine Layer holds what is true of one machine only: a permission for a local tool, a setting for its hardware, or a rule such as “no Docker here”. Every Loadout can list one.

Steps

  1. Find the machine’s name: scutil --get LocalHostName on macOS, hostname -s on other systems.
  2. Create a private repo and add it to your token. Any name works, but the convention is tackOS-layer-<machine>, such as tackOS-layer-dirtyM2.
  3. Give it a README.md whose scope line says it is for this machine only. Use an AGENTS.md instead if it has rules.
  4. Add the repo as the last git entry under layers:, so that its settings win.
  5. Run /tackOS-sync.

What goes in it

Put something here only if it would be wrong on any other machine. Anything that every machine needs belongs in the layer for its area. The Retro sends drift here by default, because you made that change on this machine.