This config assumes username shuntaka. Update if different.
Xcode Command Line Tools (if not already installed)
xcode-select --installRun installation script:
bash <(curl -sSL https://raw.githubusercontent.com/shuntaka9576/dotfiles/main/install.sh)This script will:
- Check for Xcode Command Line Tools (will exit if missing)
- Install Homebrew (if not already installed)
- Install Nix package manager
- Clone this repository to
~/dotfiles(using nix-shell) - Set up nix-darwin with home-manager
- Install mise tools
After running the installation script, complete the following steps:
- Configure Secrets Copy the example secrets file and fill in your actual values:
cp home-manager/programs/mcp/secrets.jsonnet.example home-manager/programs/mcp/secrets.jsonnet
# Edit home-manager/programs/mcp/secrets.jsonnet with your actual tokens and credentials- Neovim Setup
nvimInside Neovim:
:Lazy update- Script Editor Notification Setup
Open Script Editor and run the following command to enable notifications:
display notification "Hello" with title "Script Editor"Grant permission when prompted.
- 1Password SSH Agent Setup
mkdir -p ~/.ssh && touch ~/.ssh/config
echo 'Host *\n IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"' >> ~/.ssh/config- Install Haskell (optional)
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
ghcup tui- Happy Hacking Keyboard.app
- Testcontainers Desktop.app
Daily update (MCP configuration and nix-darwin)
makeUpdate all dependencies and apply changes (flake.lock + nvfetcher + MCP + nix-darwin)
make updateClean up old Nix generations and free up disk space
make gc# Test locally
renovate --platform=local
# Debug mode
renovate --platform=local --log-level=debugmise uninstall node --all
mise uninstall python --all
mise uninstall go --all
mise uninstall rust --allbrew list --formula | xargs brew uninstall --force