54 lines
1.1 KiB
Nix
54 lines
1.1 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
|
|
"keepassxc"
|
|
"keycastr"
|
|
"inkscape"
|
|
"firefox"
|
|
"obsidian"
|
|
"snipaste"
|
|
"ghostty"
|
|
"textmate"
|
|
"slidepilot"
|
|
"tencent-meeting"
|
|
"ovito"
|
|
"microsoft-powerpoint"
|
|
"microsoft-word"
|
|
"microsoft-excel"
|
|
"balenaetcher"
|
|
"rectangle"
|
|
"maccy"
|
|
"iina"
|
|
"hiddenbar"
|
|
"localsend"
|
|
"calibre"
|
|
"linearmouse"
|
|
"omnigraffle"
|
|
"tailscale"
|
|
];
|
|
taps = [
|
|
# Additional repositories if needed
|
|
];
|
|
};
|
|
|
|
# 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
|
|
};
|
|
}
|