aboutsummaryrefslogtreecommitdiffstats
path: root/modules/darwin/homebrew.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/darwin/homebrew.nix')
-rw-r--r--modules/darwin/homebrew.nix11
1 files changed, 5 insertions, 6 deletions
diff --git a/modules/darwin/homebrew.nix b/modules/darwin/homebrew.nix
index 51749e1..3175e97 100644
--- a/modules/darwin/homebrew.nix
+++ b/modules/darwin/homebrew.nix
@@ -1,19 +1,18 @@
-{ ... }:
+{ config, ... }:
{
homebrew = {
enable = true;
+ # Taps are pinned in flake.lock (nix-homebrew in flake.nix), so upgrading
+ # moves to the versions vet let through and never past them.
onActivation = {
- autoUpdate = true;
+ autoUpdate = false;
upgrade = true;
cleanup = "zap";
};
- taps = [
- "simenandre/tools"
- "anomalyco/tap"
- ];
+ taps = builtins.attrNames config.nix-homebrew.taps;
# Note: most CLI tools live in nixpkgs (modules/darwin/default.nix).
# These stay in brew on purpose: shell completions, the macOS container