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 than 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 homebrew.global.autoUpdate.
Implementation note: when disabled, this option sets the HOMEBREW_NO_AUTO_UPDATE
environment variable when nix-darwin invokes brew bundle [install]
during system activation.
- Type
boolean- Default
false- Declared
- <nix-darwin/modules/homebrew.nix>