curl -sL https://raw.githubusercontent.com/ntsk/dotfiles/main/bin/install.sh | bash
This script will:
- Clone or update the dotfiles repository
- Install Determinate Nix
- Apply configuration:
- macOS: nix-darwin + Home Manager (system settings and user packages)
- Linux: Home Manager only (user packages)
After installation, the dotfiles command becomes available. You can restore your configuration anytime by running dotfiles switch.
dotfiles <command>
dotfiles switch: Apply configuration (runs darwin-rebuild/home-manager switch)dotfiles update: Update flake.lock (runs nix flake update)
- Core tools (neovim, tmux, ripgrep, fzf, etc.) are managed with Nix for reproducible, cross-platform installation
- Config files (~/.zshrc, ~/.config/*, etc.) are managed via Home Manager
- Development languages (Node.js, Python, Go, etc.) are managed with mise for simpler version switching across projects