Skip to content

Getting Started

Welcome to your Nix configuration! This section will get you up and running quickly.


Brand new to this config?Quickstart (5 minutes)

Want detailed setup?Installation Guide

Already installed?First Steps


Get up and running in 5 minutes with essential commands and quick setup.

Perfect for:

  • First-time users who want to get started fast
  • Experienced Nix users who just need the basics
  • Quick reference for installation steps

Comprehensive installation instructions with detailed explanations.

Covers:

  • Prerequisites and system requirements
  • Step-by-step Nix installation
  • Customizing for your machine
  • Troubleshooting common issues
  • Verification steps

Learn how to use and customize your newly installed system.

Learn to:

  • Add and remove packages
  • Customize your shell
  • Work with profiles and modules
  • Manage secrets with SOPS
  • Daily workflow patterns

┌─────────────────────────────────────────────────────────────┐
│ Installation Flow │
├─────────────────────────────────────────────────────────────┤
│ │
│ 1. Install Nix │
│ ↓ │
│ 2. Install Homebrew (macOS GUI apps) │
│ ↓ │
│ 3. Clone this configuration │
│ ↓ │
│ 4. Customize for your machine │
│ ↓ │
│ 5. Apply configuration │
│ ↓ │
│ 6. Enjoy your reproducible system! │
│ │
└─────────────────────────────────────────────────────────────┘

After installation, you’ll have:

  • ✅ Nix package manager with flakes
  • ✅ nix-darwin for system management
  • ✅ Home Manager for user environment
  • ✅ Homebrew for macOS GUI apps
  • ✅ Development utilities (git, vim, curl, jq, tree)
  • ✅ Cloud CLIs (AWS, GCP, Kubernetes, Terraform)
  • ✅ Container tools (Colima, Docker, Skopeo, Dive)
  • ✅ AI tools (Claude Code, MCP Inspector)
  • ⭐ Ledger hardware wallet support
  • ⭐ GPG signing with hardware key
  • ⭐ SSH authentication with Ledger
  • ⭐ SOPS secrets management

Before you begin, you need:

  • macOS 11 (Big Sur) or later
  • 10 GB free disk space
  • Administrator access (sudo)
  • Terminal app
  • Optional: Ledger Nano S for hardware security

Terminal window
# 1. Install Nix (Determinate Systems)
curl -fsSL https://install.determinate.systems/nix | sh -s -- install --determinate
# 2. Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# 3. Clone config
git clone https://github.com/yourusername/Config.git ~/Config
cd ~/Config
# 4. First-time setup
sudo nix run nix-darwin -- switch --flake .#wikigen-mac
# 5. Subsequent updates
darwin-rebuild switch --flake .#wikigen-mac

See Quickstart for details.


  1. First Steps - Learn daily workflow
  2. Ledger Setup - Configure hardware wallet
  3. SOPS Setup - Set up secrets
  1. Structure Guide - Understand the architecture
  2. Design Philosophy - Learn design decisions
  3. Nix Fundamentals - Deep dive into Nix
  1. Adding Packages - Install software
  2. Creating Modules - Write modules
  3. Creating Profiles - Build profiles

Recommended: Determinate Systems installer

  • Flakes enabled by default
  • Better macOS support
  • Optimized for modern Nix

Alternative: Official installer

  • More conservative
  • Requires manual flake configuration

See Installation Guide for details.

Yes, for macOS-specific GUI applications:

  • Ledger Live
  • Other cask-only apps

Nix handles all CLI tools and libraries.

Yes! This config supports:

  • ✅ macOS (Darwin) - Current focus
  • 🚧 Linux (NixOS) - Planned
  • 🚧 Cloud (EC2/GCE) - Planned

See Design Doc for roadmap.

Terminal window
# Update dependencies
nix flake update
# Apply changes
darwin-rebuild switch --flake .#your-hostname

See First Steps for workflow details.


Having issues? Check these resources:

  1. Troubleshooting Guide - Common problems
  2. Installation Guide - Install-specific issues
  3. CLI Commands - Command reference
  4. NixOS Discourse - Community help



Ready to begin? Start with the Quickstart Guide!