The reason you are still seeing command not found is that darwin-rebuild does not exist on your computer yet.When doing a brand-new installation of nix-darwin, the darwin-rebuild tool is not part of the standard Nix installer. You have to bootstrap it using the nix run command first, which will dynamically pull the tool from GitHub and execute the initial build.Run the following command from your terminal inside your ~/.dotfiles directory:zshsudo nix run nix-darwin#darwin-rebuild -- switch --flake ~/.dotfiles#lt-mbp
## firstmate + Gitea (one-time per machine, secrets not in nix)
The firstmate crew dispatch + Gitea PR helper are wired by `darwin-rebuild`, but two secrets must be set manually per machine (nix cannot manage tokens without exposing them):
Verify: `fm` launches OpenCode 2 as the first mate (isolated `~/.config/opencode2`); `oc2 --version` prints an OpenCode 2 version; `pi --list-models mimo` shows `opencode-go/mimo-v2.5-pro`; `tea pulls list --repo transnet/investor-flow` works.
Hold a shortcut, speak, release, and the transcript pastes into the focused app. Everything runs on the Mac: no audio or transcript leaves the machine.
First run:
1. The `opensuperwhisper` cask is installed and `home.activation.openSuperWhisper` pre-downloads the model to `~/Library/Application Support/ru.starmel.OpenSuperWhisper/whisper-models/ggml-large-v3-turbo.bin` and selects "Whisper V3 Large".
2. Open the app. Onboarding should already show "Whisper V3 Large" as downloaded.
3. Grant **Microphone** and **Accessibility** when macOS asks. **Input Monitoring** is only needed if you change the shortcut to a single modifier key.
4. Keep the default shortcut (Option plus the backtick key). Hold it, speak, release. Auto-paste puts the text into the focused terminal or editor.
Notes:
- The model is local-only (about 1.6 GB). If the download failed during the rebuild, rerun `./rebuild.sh` or download "Whisper V3 Large" in the app's Settings.
- Voice is for prompts and prose. Type URLs, file paths, and exact identifiers yourself.
- The first-run steps above are manual on purpose: macOS TCC permissions cannot be granted declaratively.