option

homebrew.global.lockfiles

Whether to enable Homebrew to generate lockfiles when you manually invoke brew bundle [install]. This option will default to false if homebrew.global.brewfile is enabled since, with that option enabled, brew bundle [install] will default to using the Brewfile that this module generates in the Nix store, unless you explicitly point it at another Brewfile using the --file flag. As a result, it will try to write the lockfile in the Nix store, and complain that it can't (though the command will run successfully regardless). Implementation note: when disabled, this option sets the HOMEBREW_BUNDLE_NO_LOCK environment variable, by adding it to environment.variables

Declarations
Type
boolean
Default
!config.homebrew.global.brewfile