aboutsummaryrefslogtreecommitdiff
path: root/nix/hosts/darwin/homebrew.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/hosts/darwin/homebrew.nix')
-rw-r--r--nix/hosts/darwin/homebrew.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/nix/hosts/darwin/homebrew.nix b/nix/hosts/darwin/homebrew.nix
new file mode 100644
index 0000000..0840b06
--- /dev/null
+++ b/nix/hosts/darwin/homebrew.nix
@@ -0,0 +1,36 @@
+{ ... }: {
+ # Required for homebrew on aarch64
+ environment.systemPath = [ "/opt/homebrew/bin" "/opt/homebrew/sbin" ];
+
+ homebrew = {
+ enable = true;
+ onActivation.autoUpdate = true;
+ onActivation.upgrade = true;
+
+ brews = [
+ "go" # it's also installed by nix, but this is a fallback, just in case
+
+ # various hashicorp related tools
+ "hashicorp/tap/boundary" # https://www.boundaryproject.io/
+ "hashicorp/tap/nomad-pack"
+
+ # kubernetes stuff
+ "kind" # to run local k8s cluster
+ "kubebuilder"
+ ];
+
+ taps = [ "hashicorp/tap" ];
+
+ casks = [
+ "1password-cli"
+ "docker"
+ "element"
+ "emacs"
+ "iterm2"
+ "transmission"
+ "vlc"
+ "wireshark"
+ "zoom"
+ ];
+ };
+}