Harald Hoyer
8629411382
Introduce 'cleanup', 'autoUpdate', and 'upgrade' options under the onActivation section for improved manageability. Additionally, remove unused homebrew configuration from modules/darwin/nix/default.nix.
43 lines
595 B
Nix
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;
|
|
}
|