From 959f2b11deff8a09c4d4af54a467fbef956dc717 Mon Sep 17 00:00:00 2001 From: "Jip J. Dekker" Date: Fri, 31 May 2024 18:28:40 +1000 Subject: [PATCH] Automatically sync taps between nix-homebrew and home manager --- darwin/home-manager.nix | 9 +-------- flake.nix | 1 - 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/darwin/home-manager.nix b/darwin/home-manager.nix index 63138bb..a61fb35 100644 --- a/darwin/home-manager.nix +++ b/darwin/home-manager.nix @@ -25,14 +25,7 @@ in "biber@2.17" "scip" ]; - # WARNING: should match flake.nix - taps = [ - "homebrew/homebrew-core" - "homebrew/homebrew-cask" - "homebrew/homebrew-cask-fonts" - "homebrew/homebrew-bundle" - "dgfl-gh/homebrew-taps" - ]; + taps = builtins.attrNames config.nix-homebrew.taps; }; # These app IDs are from using the mas CLI app diff --git a/flake.nix b/flake.nix index fe20c30..c4e030a 100644 --- a/flake.nix +++ b/flake.nix @@ -79,7 +79,6 @@ nix-homebrew = { enable = true; user = "${user}"; - # WARNING: should match darwin/home-manager.nix taps = { "homebrew/homebrew-core" = homebrew-core; "homebrew/homebrew-cask" = homebrew-cask;