2022-06-06 23:39:53 -04:00
|
|
|
{ pkgs, config, ... }: {
|
2022-08-28 20:13:46 -04:00
|
|
|
|
|
|
|
nix = {
|
|
|
|
configureBuildUsers = true;
|
|
|
|
|
|
|
|
extraOptions = ''
|
|
|
|
extra-platforms = x86_64-darwin aarch64-darwin
|
|
|
|
experimental-features = nix-command flakes
|
|
|
|
'';
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
trusted-users = [ "root" "@admin" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-09-06 22:03:48 -04:00
|
|
|
homebrew = {
|
|
|
|
enable = true;
|
|
|
|
brewPrefix = "/opt/homebrew/bin";
|
|
|
|
global = {
|
|
|
|
brewfile = true;
|
|
|
|
lockfiles = false;
|
|
|
|
};
|
|
|
|
onActivation = {
|
|
|
|
autoUpdate = true;
|
|
|
|
cleanup = "zap";
|
|
|
|
upgrade = true;
|
|
|
|
};
|
|
|
|
};
|
2022-06-06 23:39:53 -04:00
|
|
|
}
|