mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 02:08:29 +02:00
feat(darwin): auto upgrade homebrew
This commit is contained in:
@@ -90,7 +90,8 @@ in {
|
|||||||
enable = true; # disable homebrew for fast deploy
|
enable = true; # disable homebrew for fast deploy
|
||||||
|
|
||||||
onActivation = {
|
onActivation = {
|
||||||
autoUpdate = true;
|
autoUpdate = true; # Fetch the newest stable branch of Homebrew's git repo
|
||||||
|
upgrade = true; # Upgrade outdated casks, formulae, and App Store apps
|
||||||
# 'zap': uninstalls all formulae(and related files) not listed in the generated Brewfile
|
# 'zap': uninstalls all formulae(and related files) not listed in the generated Brewfile
|
||||||
cleanup = "zap";
|
cleanup = "zap";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user