# MacBook Pro — macOS / nix-darwin (macbook-pro) `systems/aarch64-darwin/macbook-pro/` ## Overview This is the [nix-darwin](https://github.com/nix-darwin/nix-darwin) configuration for the same MacBook Pro running macOS. It provides declarative macOS system management alongside Homebrew. ## Key Features - Touch ID for `sudo` - Declarative Homebrew (casks and formulae managed via `nix-homebrew`) - `nh` for easy NixOS/darwin rebuilds - `attic-client` for accessing the Nix binary cache - `macpm` for Apple Silicon power monitoring - Rosetta builder available (disabled, on-demand) - Linux builder available (disabled) ## Configuration Files | File | Purpose | |---|---| | `default.nix` | Main config — packages, users, environment | | `homebrew.nix` | Declarative Homebrew casks and formulae | | `programs.nix` | macOS program settings | | `system.nix` | System defaults (dock, finder, etc.) | ## User - **Username**: `mattjallen` - **Home**: `/Users/mattjallen` - **Flake path**: `/Users/mattjallen/nix-config` (set via `NH_OS_FLAKE`) ## Rebuilding ```bash darwin-rebuild switch --flake .#macbook-pro # or using nh: nh darwin switch ```