This repository contains my darwin-specific nix configuration and dotfiles.
- nix
- nix-darwin
- clone this repository to
$HOME/projects/nix-config - run
darwin-rebuild switch -I darwin-config=$HOME/projects/nix-config/config/default.nix
- committed defaults live in
config/local-settings-default.nix - local overrides live in ignored
config/local-settings.nix - use local overrides for values like
git.userEmail,git.sshPublicKey,nix.hostPlatform, andnix.autoOptimiseStore
- shared agent instructions live in
dotfiles/ai-agents/AGENTS.md - managed skills live under
dotfiles/ai-agents/skills/ darwin-rebuild switchlinks managed files into~/.codexand~/.claude- activation also ensures Codex accepts both
AGENTS.mdandagents.mdas project instruction filenames - the home directories stay real writable directories, so both tools can still create runtime state there
- tmux restores the last saved layout after reboot via
tmux-resurrectandtmux-continuum - restore runs automatically when the tmux server starts
- manual save and restore:
prefix + Ctrl-s,prefix + Ctrl-r