From d5f3167d99bae5415a5c9cdc48acd1880532bf47 Mon Sep 17 00:00:00 2001 From: Nico Date: Sat, 3 May 2025 16:16:00 +1000 Subject: [PATCH] darwin: add brew for installing apps --- flake.nix | 1 + modules/darwin/brew.nix | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 modules/darwin/brew.nix diff --git a/flake.nix b/flake.nix index a315236..0ff0e47 100644 --- a/flake.nix +++ b/flake.nix @@ -47,6 +47,7 @@ ./modules/darwin/desktop.nix ./modules/darwin/hardware.nix ./modules/darwin/nix.nix + ./modules/darwin/brew.nix ./hosts/faye/conf.nix ./hosts/darwin-common.nix diff --git a/modules/darwin/brew.nix b/modules/darwin/brew.nix new file mode 100644 index 0000000..6f69e09 --- /dev/null +++ b/modules/darwin/brew.nix @@ -0,0 +1,14 @@ +{ config, lib, pkgs, ... }: + +{ + homebrew = { + enable = true; + onActivation.cleanup = "zap"; + casks = [ + "firefox" + "thunderbird" + "ghostty" + "whisky" + ]; + }; +}