anchor.diff:    cfg = config.homebrew;
   
     brewfileFile = pkgs.writeText "Brewfile" cfg.brewfile;
  -
  -  brew-bundle-command = concatStringsSep " " (
  -    optional (!cfg.autoUpdate) "HOMEBREW_NO_AUTO_UPDATE=1"
  -    ++ [ "brew bundle --file='${brewfileFile}' --no-lock" ]
  -    ++ optional (cfg.cleanup == "uninstall" || cfg.cleanup == "zap") "--cleanup"
  -    ++ optional (cfg.cleanup == "zap") "--zap"
  -  );
   
     # Brewfile creation helper functions -------------------------------------------------------------
   
  
positive.code:   # Implementation ---------------------------------------------------------------------------------
  
    config = {
      homebrew.brews =
        optional (cfg.masApps != { }) "mas"
        ++ optional (cfg.whalebrews != [ ]) "whalebrew";
  
negative.code:       # Homebrew Bundle
        echo >&2 "Homebrew bundle..."
        if [ -f "${cfg.brewPrefix}/brew" ]; then
          PATH="${cfg.brewPrefix}":$PATH ${cfg.onActivation.brewBundleCmd}
        else
          echo -e "\e[1;31merror: Homebrew is not installed, skipping...\e[0m" >&2
        fi
  