aboutsummaryrefslogtreecommitdiff
path: root/nix/hosts/darwin/homebrew.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-11-17 11:16:44 -0800
committerFranck Cuny <franck@fcuny.net>2024-11-17 11:16:44 -0800
commit357fbda2bb2400a52f8dec61b66342b92fa945ae (patch)
treeb81c4ea017372f086963094903a01ac5e56a98ef /nix/hosts/darwin/homebrew.nix
parentinstall font dejavu (diff)
downloadinfra-357fbda2bb2400a52f8dec61b66342b92fa945ae.tar.gz
move machine configurations under darwin and nixos
Don't manage fonts on Darwin with homebrew.
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"
+ ];
+ };
+}