darwin: align Homebrew with cask tap

This commit is contained in:
2026-04-25 18:04:53 -07:00
parent 1a06382365
commit 1b7c6acf3f
2 changed files with 28 additions and 1 deletions

View File

@@ -14,6 +14,10 @@
url = "git+ssh://gitea@dev.railbird.ai:1123/railbird/secrets-flake.git";
};
nix-homebrew.url = "github:zhaofengli-wip/nix-homebrew";
brew-src = {
url = "github:Homebrew/brew/5.1.7";
flake = false;
};
# Optional: Declarative tap management
homebrew-core = {
@@ -229,6 +233,7 @@
# Homebrew casks (managed by nix-darwin, installed by nix-homebrew)
homebrew = {
enable = true;
taps = builtins.attrNames config.nix-homebrew.taps;
casks = [
"codex-app"
"ghostty"
@@ -310,6 +315,10 @@
enable = true;
user = "kat";
autoMigrate = true;
package = inputs.brew-src // {
name = "brew-5.1.7";
version = "5.1.7";
};
taps = {
"homebrew/homebrew-core" = inputs.homebrew-core;
"homebrew/homebrew-cask" = inputs.homebrew-cask;