Lap Tran 6e1ee6ef67 fix(home): stop herdr writing runtime state into the repo
herdr resolves its config directory as ~/.config/herdr and writes all of its
runtime state beside config.toml: herdr.sock, herdr-client.sock,
herdr-server.log, .plugins.lock, session.json and session-snapshots/. It offers
no option to relocate that directory, so linking the whole directory into this
repo made ~/.config/herdr resolve into the tracked tree and left every clone
permanently dirty with herdr's live sockets and snapshots.

Link only config.toml and let ~/.config/herdr be a real directory, so herdr's
state lands in $HOME instead of the working tree.

home-manager links a file by resolving the existing directory symlink, which
would move this repo's own tracked config.toml to config.toml.backup and leave
a symlink inside the tree. Add a one-time activation step that drops the stale
symlink before home-manager checks link targets; it is a no-op once
~/.config/herdr is a real directory.
2026-10-05 21:25:29 -04:00
2026-07-18 22:54:23 -04:00

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):

  1. tea login (Gitea CLI auth against unraid): zsh tea login add --name unraid --url http://unraid.local:3003 --token <GITEA_TOKEN>

  2. The Gitea token is the one in investor-flow's origin remote URL. After tea login, optionally clean the embedded creds from the remote: zsh cd ~/Documents/investor-flow git remote set-url origin http://unraid.local:3003/transnet/investor-flow

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.

S
Description
dev env dotfiles
Readme
606 KiB
0 Stars 2 Watchers 0 Forks
Languages
Shell 31.2%
Python 20%
Nix 18.2%
TypeScript 14.4%
HTML 12.9%
Other 3.3%