From 08895478a42f71a3bd5b8f94e034835e13c40cde Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Tue, 27 Aug 2024 23:46:25 +0800 Subject: [PATCH] feat(darwin): auto upgrade homebrew --- modules/darwin/apps.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/darwin/apps.nix b/modules/darwin/apps.nix index 174ffa0f..2074572c 100644 --- a/modules/darwin/apps.nix +++ b/modules/darwin/apps.nix @@ -90,7 +90,8 @@ in { enable = true; # disable homebrew for fast deploy 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 cleanup = "zap"; };