mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:46 +01:00
nix-darwin runs `brew bundle` as `sudo --preserve-env=PATH ... env ...`, so the variables the mkBefore'd activation snippet exported never reached brew; activation was using the default upstream endpoints. Set them via homebrew.onActivation.extraEnv, which nix-darwin puts on the `env` command line (evaluated on fern), and drop the snippet. Assisted-by: Claude Code (claude-opus-5-5)
Nix-Darwin's Modules
This directory contains the modules for Nix-Darwin.
See ryan4yin/nix-darwin-kickstarter for a more detailed explanation.