Quickstart Guide
Get your Nix configuration up and running in 5 minutes.
Prerequisites
Section titled “Prerequisites”- macOS system (for Darwin setup)
- Terminal access
- 10 GB free disk space
Step 1: Install Nix (2 minutes)
Section titled “Step 1: Install Nix (2 minutes)”Use the Determinate Systems installer for the best experience:
curl -fsSL https://install.determinate.systems/nix | sh -s -- install --determinate
Why Determinate Nix?
- Includes flakes by default
- Better macOS support
- No daemon management needed
Step 2: Install Homebrew (1 minute)
Section titled “Step 2: Install Homebrew (1 minute)”Required for macOS-specific GUI apps:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Step 3: Clone This Config (1 minute)
Section titled “Step 3: Clone This Config (1 minute)”cd ~git clone https://github.com/yourusername/Config.gitcd Config
Step 4: Apply Configuration (1 minute)
Section titled “Step 4: Apply Configuration (1 minute)”First-Time Setup
Section titled “First-Time Setup”# Backup existing shell configmv ~/.zshrc ~/.zshrc.backup 2>/dev/null || true
# Apply Nix configurationsudo nix run nix-darwin -- switch --flake .#wikigen-mac
Subsequent Updates
Section titled “Subsequent Updates”After the first setup, use:
darwin-rebuild switch --flake .#wikigen-mac
What You Just Got
Section titled “What You Just Got”✅ System Packages
- Nix development tools (git, vim, curl, wget)
- Cloud CLIs (AWS, GCP, Kubernetes)
- Container tools (Colima, Docker, Skopeo)
- AI tools (Claude Code, MCP Inspector)
✅ Hardware Security (optional setup)
- Ledger wallet support
- GPG signing
- SSH authentication
- SOPS secrets management
✅ Shell Configuration
- Zsh with completions
- Colima auto-start
- GPG/SSH agent integration
Quick Verification
Section titled “Quick Verification”# Check Nix installationnix --version
# Check installed packageswhich aws kubectl docker
# View system configurationdarwin-rebuild --help
Next Steps
Section titled “Next Steps”- Customize for your machine - Edit
hosts/wikigen-mac.nix
with your username - Set up Ledger - See Ledger Setup Guide
- Add secrets - See SOPS Guide
- Explore structure - Read Architecture Guide
Troubleshooting
Section titled “Troubleshooting””Command not found” after install
Section titled “”Command not found” after install”Restart your shell:
exec zsh
Homebrew not found
Section titled “Homebrew not found”Add to PATH:
eval "$(/opt/homebrew/bin/brew shellenv)"
Build fails with version mismatch
Section titled “Build fails with version mismatch”Ensure you’re using the latest flake lock:
nix flake updatedarwin-rebuild switch --flake .#wikigen-mac
Common First Tasks
Section titled “Common First Tasks”Add a package:
# In hosts/wikigen-mac.nixenvironment.systemPackages = with pkgs; [ # ... existing packages htop # Add your package here];
Rebuild:
darwin-rebuild switch --flake .#wikigen-mac
Related Documentation
Section titled “Related Documentation”- Detailed Installation Guide - Step-by-step setup
- First Steps - What to do after installation
- Structure Guide - Understanding the config
Get Help
Section titled “Get Help”- Troubleshooting Guide - Common issues
- NixOS Discourse - Community forum
- GitHub Issues - Report bugs
You’re all set! 🚀
Continue with First Steps to learn how to customize your setup.