Personal macOS dotfiles managed with GNU Stow and nix-darwin.
The repo mirrors $HOME directly: paths in this repository match their final location under your home directory.
Run this on an Apple Silicon Mac as your normal macOS user:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/huv1k/dotfiles/master/setup.sh)"The installer will:
- Install Nix with the Determinate installer if needed.
- Clone this repo to
~/Developer/dotfiles. - Apply the nix-darwin configuration at
~/Developer/dotfiles/.config/nix-darwin#huvikusing your current macOS account. - Stow the dotfiles into
$HOME.
cd ~/Developer/dotfiles
./setup.sh# Re-stow after changes
stow --restow -d ~/Developer -t ~ dotfiles
# Adopt existing files deliberately
stow --adopt -d ~/Developer -t ~ dotfiles
# Remove all symlinks
stow -D -d ~/Developer -t ~ dotfiles