From 63637f993f7d15cc8750d519e210a7d7c22a1efa Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 11 Mar 2024 17:15:43 -0700 Subject: reorganize common files for hosts Move the common configuration for nix to its own file. --- hosts/common/homebrew.nix | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 hosts/common/homebrew.nix (limited to 'hosts/common/homebrew.nix') diff --git a/hosts/common/homebrew.nix b/hosts/common/homebrew.nix new file mode 100644 index 0000000..b358695 --- /dev/null +++ b/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" + ]; + }; +} -- cgit v1.2.3