nixcfg/systems/aarch64-darwin/m4/default.nix
Harald Hoyer 8629411382 Add onActivation settings to aarch64-darwin/m4
Introduce 'cleanup', 'autoUpdate', and 'upgrade' options under the onActivation section for improved manageability. Additionally, remove unused homebrew configuration from modules/darwin/nix/default.nix.
2024-11-25 16:34:59 +01:00

43 lines
595 B
Nix

{ lib, pkgs, ... }:
with lib.metacfg;
{
homebrew = {
enable = true;
brews = [
"libusb"
"mas"
];
masApps = { };
onActivation = {
cleanup = "zap";
autoUpdate = true;
upgrade = true;
};
};
metacfg = {
system.homebrew = enabled;
suites = {
common = enabled;
};
tools = {
direnv.enable = true;
};
};
environment.systemPackages = with pkgs; [
# azure-cli
kubectl
kubectx
k9s
attic-client
ollama
];
users.users.harald.shell = pkgs.fish;
system.stateVersion = 4;
}