🗑️fix nix-darwin homebrew deprecations

This commit is contained in:
2022-09-06 22:03:48 -04:00
parent 96c88583c3
commit 2711d6006a
4 changed files with 29 additions and 33 deletions

View File

@ -13,6 +13,20 @@
};
};
homebrew = {
enable = true;
brewPrefix = "/opt/homebrew/bin";
global = {
brewfile = true;
lockfiles = false;
};
onActivation = {
autoUpdate = true;
cleanup = "zap";
upgrade = true;
};
};
system.activationScripts.applications.text = pkgs.lib.mkForce (
''
rm -rf /Applications/Nix