aboutsummaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/common/darwin/homebrew.nix36
-rw-r--r--hosts/mba/default.nix34
2 files changed, 36 insertions, 34 deletions
diff --git a/hosts/common/darwin/homebrew.nix b/hosts/common/darwin/homebrew.nix
new file mode 100644
index 0000000..0a7a2c9
--- /dev/null
+++ b/hosts/common/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 = [
+ "aspell" # spelling
+ "kind" # to run local k8s cluster
+ "envoy" # to do some testing with envoy
+ ];
+
+ taps = [
+ "homebrew/cask-fonts"
+ ];
+
+ casks = [
+ "1password-cli"
+ "docker"
+ "element"
+ "emacs"
+ "font-monaspace" # https://github.com/githubnext/monaspace
+ "font-source-code-pro"
+ "iterm2"
+ "netnewswire"
+ "transmission"
+ "vlc"
+ "wireshark"
+ "zoom"
+ ];
+ };
+}
diff --git a/hosts/mba/default.nix b/hosts/mba/default.nix
index 55e8ffd..8b22923 100644
--- a/hosts/mba/default.nix
+++ b/hosts/mba/default.nix
@@ -14,40 +14,6 @@
programs.zsh.enable = true;
- # 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
- "kind" # to run local k8s cluster
- "envoy" # to do some testing with envoy
- ];
-
- taps = [
- "homebrew/cask-fonts"
- ];
-
- casks = [
- "1password-cli"
- "docker"
- "element"
- "emacs"
- "font-monaspace" # https://github.com/githubnext/monaspace
- "font-source-code-pro"
- "iterm2"
- "netnewswire"
- "transmission"
- "vlc"
- "wireshark"
- "zoom"
- ];
- };
-
users.users.fcuny.home = "/Users/fcuny";
system.defaults.dock.autohide = true;