MyNixOS website logo
option

homebrew.onActivation.autoUpdate

Whether to enable Homebrew to auto-update itself and all formulae during nix-darwin system activation. The default is false so that repeated invocations of darwin-rebuild switch are idempotent.

Note that Homebrew auto-updates when it's been more then 5 minutes since it last updated.

Although auto-updating is disabled by default during system activation, note that Homebrew will auto-update when you manually invoke certain Homebrew commands. To modify this behavior see .

Implementation note: when disabled, this option sets the HOMEBREW_NO_AUTO_UPDATE environment variable when nix-darwin invokes brew bundle [install] during system activation.

Declarations
    Type
    boolean
    Default
    false