Skip to content

Quickstart Guide

Get your Nix configuration up and running in 5 minutes.


  • macOS system (for Darwin setup)
  • Terminal access
  • 10 GB free disk space

Use the Determinate Systems installer for the best experience:

Terminal window
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

Required for macOS-specific GUI apps:

Terminal window
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Terminal window
cd ~
git clone https://github.com/yourusername/Config.git
cd Config

Terminal window
# Backup existing shell config
mv ~/.zshrc ~/.zshrc.backup 2>/dev/null || true
# Apply Nix configuration
sudo nix run nix-darwin -- switch --flake .#wikigen-mac

After the first setup, use:

Terminal window
darwin-rebuild switch --flake .#wikigen-mac

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

Terminal window
# Check Nix installation
nix --version
# Check installed packages
which aws kubectl docker
# View system configuration
darwin-rebuild --help

  1. Customize for your machine - Edit hosts/wikigen-mac.nix with your username
  2. Set up Ledger - See Ledger Setup Guide
  3. Add secrets - See SOPS Guide
  4. Explore structure - Read Architecture Guide

Restart your shell:

Terminal window
exec zsh

Add to PATH:

Terminal window
eval "$(/opt/homebrew/bin/brew shellenv)"

Ensure you’re using the latest flake lock:

Terminal window
nix flake update
darwin-rebuild switch --flake .#wikigen-mac

Add a package:

# In hosts/wikigen-mac.nix
environment.systemPackages = with pkgs; [
# ... existing packages
htop # Add your package here
];

Rebuild:

Terminal window
darwin-rebuild switch --flake .#wikigen-mac



You’re all set! 🚀

Continue with First Steps to learn how to customize your setup.