bring back nix-darwin hosts compatability
This commit is contained in:
parent
1b6a0430d2
commit
0bf4fb87c6
13 changed files with 579 additions and 31 deletions
44
modules/homebrew.nix
Normal file
44
modules/homebrew.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ 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"
|
||||
"slidepilot"
|
||||
"tencent-meeting"
|
||||
"ovito"
|
||||
"microsoft-powerpoint"
|
||||
"microsoft-word"
|
||||
"microsoft-excel"
|
||||
"rectangle"
|
||||
];
|
||||
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
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue