In an effort to simplify my dotfile game, I've moved to a stow + nix-darwin approach.
-
Install Nix via the Lix installer:
curl -sSf -L https://install.lix.systems/lix | sh -s -- install -
Clone this repo:
git clone https://codeberg.org/rparsley/dotfiles ~/dotfiles -
Bootstrap nix-darwin (first run only):
sudo nix run nix-darwin/master#darwin-rebuild -- switch --flake ~/dotfiles -
Subsequent rebuilds (stow is now managed by nix):
just switch
-
Stow dotfiles:
just restow cd ~/dotfiles && stow ghostty nvim yazi
So long as [this is open], you'll need to create a symlink if you want to keep nushell config in your home directory instead of Application Support. I didn't link the folder because I don't want to share history.txt.
ln -s ~/dotfiles/.config/nushell/* "/Users/ryan/Library/Application Support/nushell/"
Agent Skills (agentskills.io) live in ~/.agents/skills/ and work with pi agent, opencode, Claude Code, and more.
# Clone skills repo (user-level, available in all projects)
git clone https://github.com/badlogic/pi-skills ~/.agents/skills/pi-skillsStow handles symlinking ~/.agents/ → ~/dotfiles/.agents/.
# Pull latest changes
cd ~/.agents/skills/pi-skills && git pull
# Or re-clone from scratch
rm -rf ~/.agents/skills/pi-skills
git clone https://github.com/badlogic/pi-skills ~/.agents/skills/pi-skills