anchor.diff:        + mkBrewfileSectionString "Docker containers" (map (v: ''whalebrew "${v}"'') cfg.whalebrews)
         + optionalString (cfg.extraConfig != "") ("# Extra config\n" + cfg.extraConfig);
   
  -    environment.variables = mkIf cfg.enable (
  -      optionalAttrs cfg.global.brewfile { HOMEBREW_BUNDLE_FILE = "${brewfileFile}"; }
  -      // optionalAttrs cfg.global.noLock { HOMEBREW_BUNDLE_NO_LOCK = "1"; }
  -    );
  +    environment.variables = mkIf cfg.enable cfg.global.homebrewEnvironmentVariables;
   
       system.activationScripts.homebrew.text = mkIf cfg.enable ''
         # Homebrew Bundle
  
positive.code:         sCfg = mkProcessedSubmodConfig config;
        in
        {
          brewfileLine = if sCfg == { } then null else "cask_args ${mkBrewfileLineOptionsListString sCfg}";
        };
    };
  
  
negative.code:       '';
      };
  
      global = mkOption {
        type = types.submodule globalOptions;
        default = { };
        description = ''
          Options for configuring the behavior of Homebrew commands when you manually invoke them.
        '';
      };
  
  