From 357fbda2bb2400a52f8dec61b66342b92fa945ae Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 17 Nov 2024 11:16:44 -0800 Subject: move machine configurations under darwin and nixos Don't manage fonts on Darwin with homebrew. --- nix/hosts/darwin/homebrew.nix | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 nix/hosts/darwin/homebrew.nix (limited to 'nix/hosts/darwin/homebrew.nix') 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" + ]; + }; +} -- cgit v1.2.3