Add homebrew

This commit is contained in:
Yan Lin 2025-08-28 17:01:11 +02:00
parent d81c541c97
commit 2a2e053d62
6 changed files with 88 additions and 3 deletions

24
modules/homebrew.nix Normal file
View file

@ -0,0 +1,24 @@
{ 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
# Example: "wget"
];
casks = [
# GUI applications go here
# Example: "google-chrome"
];
taps = [
# Additional repositories if needed
];
};
}