nix/modules/homebrew.nix
2026-01-10 14:14:02 +01:00

64 lines
1.3 KiB
Nix

{ config, pkgs, ... }:
{
# Homebrew configuration for package management
homebrew = {
enable = true;
onActivation = {
autoUpdate = true;
cleanup = "zap"; # Removes unlisted formulae/casks
upgrade = true;
};
brews = [
# Command-line tools go here
];
casks = [
# GUI applications - manually installed apps now managed by Homebrew
"coteditor"
"keepassxc"
"keycastr"
"inkscape"
"affinity"
"firefox"
"obsidian"
"snipaste"
"ghostty"
"slidepilot"
"tencent-meeting"
"ovito"
"microsoft-powerpoint"
"microsoft-word"
"microsoft-excel"
"balenaetcher"
"aerospace"
"maccy"
"iina"
"hiddenbar"
"localsend"
"calibre"
"omnigraffle"
"tailscale-app"
"typora"
"zotero"
"raspberry-pi-imager"
"transmission"
"pdf-expert"
"drawio"
"clash-verge-rev"
"the-unarchiver"
"musicbrainz-picard"
"mongodb-compass"
];
taps = [
"nikitabobko/tap"
];
};
# nix-homebrew configuration for declarative Homebrew installation
nix-homebrew = {
enable = true;
enableRosetta = true; # Apple Silicon support
user = "yanlin";
autoMigrate = true; # Migrate existing Homebrew if present
};
}