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.
This commit is contained in:
Harald Hoyer 2024-11-25 16:34:59 +01:00
parent 3390c39901
commit 8629411382
2 changed files with 5 additions and 5 deletions

View file

@ -24,11 +24,6 @@ in
nix-prefetch-git nix-prefetch-git
]; ];
homebrew = {
enable = true;
onActivation.autoUpdate = false;
};
nix = nix =
let let
users = [ users = [

View file

@ -10,6 +10,11 @@ with lib.metacfg;
"mas" "mas"
]; ];
masApps = { }; masApps = { };
onActivation = {
cleanup = "zap";
autoUpdate = true;
upgrade = true;
};
}; };
metacfg = { metacfg = {