about summary refs log tree commit diff
path: root/nix/hosts/common/homebrew.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/hosts/common/homebrew.nix')
-rw-r--r--nix/hosts/common/homebrew.nix42
1 files changed, 42 insertions, 0 deletions
diff --git a/nix/hosts/common/homebrew.nix b/nix/hosts/common/homebrew.nix
new file mode 100644
index 0000000..b358695
--- /dev/null
+++ b/nix/hosts/common/homebrew.nix
@@ -0,0 +1,42 @@
+{ ... }:
+{
+  # Required for homebrew on aarch64
+  environment.systemPath = [ "/opt/homebrew/bin" "/opt/homebrew/sbin" ];
+
+  homebrew = {
+    enable = true;
+    onActivation.autoUpdate = true;
+    onActivation.upgrade = true;
+
+    brews = [
+      "aspell" # spelling
+      "envoy" # to do some testing with envoy
+      "go" # it's also installed by nix, but this is a fallback, just in case
+      "hashicorp/tap/boundary" # https://www.boundaryproject.io/
+      "kind" # to run local k8s cluster
+      "kubebuilder"
+      "s3cmd"
+    ];
+
+    taps = [
+      "homebrew/cask-fonts"
+      "hashicorp/tap"
+    ];
+
+    casks = [
+      "1password-cli"
+      "docker"
+      "element"
+      "emacs"
+      "font-monaspace" # https://github.com/githubnext/monaspace
+      "font-source-code-pro"
+      "iterm2"
+      "netnewswire"
+      "transmission"
+      "vlc"
+      "wireshark"
+      "zed"
+      "zoom"
+    ];
+  };
+}