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:
parent
3390c39901
commit
8629411382
|
@ -24,11 +24,6 @@ in
|
||||||
nix-prefetch-git
|
nix-prefetch-git
|
||||||
];
|
];
|
||||||
|
|
||||||
homebrew = {
|
|
||||||
enable = true;
|
|
||||||
onActivation.autoUpdate = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
nix =
|
nix =
|
||||||
let
|
let
|
||||||
users = [
|
users = [
|
||||||
|
|
|
@ -10,6 +10,11 @@ with lib.metacfg;
|
||||||
"mas"
|
"mas"
|
||||||
];
|
];
|
||||||
masApps = { };
|
masApps = { };
|
||||||
|
onActivation = {
|
||||||
|
cleanup = "zap";
|
||||||
|
autoUpdate = true;
|
||||||
|
upgrade = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
metacfg = {
|
metacfg = {
|
||||||
|
|
Loading…
Reference in a new issue