homelab · git:20261116.4d7760d · 2026-11-16 · sha256 3df40ab755260d6d

homelab git:20261116.4d7760dA

Immutable. This exact content never changes and is served at /api/v1/blob/3df40ab755260d6d.

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_b5oth5skjw4d3jpv/3df40ab755260d6db56b9c69847eb2fafa7d7b701f18c745748e2d71d4dc24a0.json

Then /plugin install homelab@markdownregistry-b5oth5skjw4d3jpv in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.

---
name: homelab
description: Inventory and SSH access for Oskar's tailnet devices (dev box Mac mini, previous Mac mini, zima selfhost box, nas). Use when asked to jump on a box, update, check, or manage anything on the homelab / tailnet / dev box / nas / zima.
---

# Homelab

All devices live in the tailnet with MagicDNS. SSH works directly by hostname,
auth via 1Password SSH agent (`IdentityAgent` set in `~/.ssh/config`). No
passwords needed, just `ssh <host> '<cmd>'`.

## Devices

- `oskars-mac-mini` - dev box (Mac mini, macOS, Apple Silicon, user `bigmac`,
  nix host `macmini`). Agents run here, see `WORKFLOW.md` in the dotfiles.
- `oskars-macmini` - previous Mac mini (user `okwasniewski`), still on the
  tailnet.
- `zima` - selfhosting box (ZimaBoard, Ubuntu). Everything runs in Docker.
- `nas` - backups, photos, self-hosted cloud (Ubuntu, RAID1 storage on
  `/mnt/storage`). Services run in Docker.

Other tailnet devices (phones, laptops, TV) have no SSH - list with
`tailscale status`.

## Conventions

- Service details and compose configs live in the private `homelab` repo,
  cloned to `~/homelab` on zima and nas (`~/homelab/<host>/<service>/compose.yml`).
  Edit there, commit, push. Discover what runs where via `docker ps` on the box.
- Docker works without sudo on both Linux boxes. Update a service:
  `ssh zima 'cd ~/homelab/zima/<service> && docker compose pull && docker compose up -d'`
- `sudo` requires a password - for apt upgrades or reboots ask Oskar to run
  interactively (`! ssh -t zima 'sudo apt upgrade'`)
- Reboots only when Oskar confirms.