about summary refs log tree commit diff
path: root/modules/darwin/homebrew.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-04-21 02:15:42 +0300
committerAzat Bahawi <azat@bahawi.net>2024-04-21 02:15:42 +0300
commite6ed60548397627bf10f561f9438201dbba0a36e (patch)
treef9a84c5957d2cc4fcd148065ee9365a0c851ae1c /modules/darwin/homebrew.nix
parent2024-04-18 (diff)
2024-04-21
Diffstat (limited to '')
-rw-r--r--modules/darwin/homebrew.nix29
1 files changed, 0 insertions, 29 deletions
diff --git a/modules/darwin/homebrew.nix b/modules/darwin/homebrew.nix
deleted file mode 100644
index 41a2c6c..0000000
--- a/modules/darwin/homebrew.nix
+++ /dev/null
@@ -1,29 +0,0 @@
-{ config, lib, ... }:
-with lib;
-let
-  cfg = config.nixfiles.modules.homebrew;
-in
-{
-  options.nixfiles.modules.homebrew.enable = mkEnableOption "Homebrew";
-
-  config = mkIf cfg.enable {
-    hm.programs.bash.initExtra = mkAfter ''
-      if [ -x "/opt/homebrew/bin/brew" ]; then
-        export PATH="$PATH:/opt/homebrew/bin"
-      fi
-    '';
-
-    # This option requires an installed Homebrew[1].
-    #
-    # [1]: https://daiderd.com/nix-darwin/manual/index.html#opt-homebrew.enable
-    # [1]: https://brew.sh
-    homebrew = {
-      enable = true;
-      onActivation = {
-        autoUpdate = true;
-        upgrade = true;
-        cleanup = "zap";
-      };
-    };
-  };
-}

Consider giving Nix/NixOS a try! <3