Skip to content

shuntaka9576/dotfiles

Repository files navigation

dotfiles

Initial Setup

Setup PC

This config assumes username shuntaka. Update if different.

Installation (macOS)

Xcode Command Line Tools (if not already installed)

xcode-select --install

Run 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

Post-Installation Setup

After running the installation script, complete the following steps:

  1. 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
  1. Neovim Setup
nvim

Inside Neovim:

:Lazy update
  1. 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.

  1. 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
  1. Install Haskell (optional)
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
ghcup tui

Manual Application Installation

  • Happy Hacking Keyboard.app
  • Testcontainers Desktop.app

Usage

Daily update (MCP configuration and nix-darwin)

make

Update all dependencies and apply changes (flake.lock + nvfetcher + MCP + nix-darwin)

make update

Clean up old Nix generations and free up disk space

make gc

Troubleshooting

Renovate Debugging

# Test locally
renovate --platform=local

# Debug mode
renovate --platform=local --log-level=debug

Reset mise

mise uninstall node --all
mise uninstall python --all
mise uninstall go --all
mise uninstall rust --all

Reset homebrew

brew list --formula | xargs brew uninstall --force

About

🔧 Dotfiles for Darwin/NixOS, powered by Nix.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •