anchor.diff:          brewfileLine =
             "brew ${sCfg.name}"
             + optionalString (sCfgSubset != { }) ", ${mkBrewfileLineOptionsListString sCfgSubset}"
  -          # We need to handle the `restart_service` option seperately since it can be either bool
  -          # or the string value "changed".
  +          # We need to handle the `restart_service` option seperately since it can be either a bool
  +          # or `:changed` in the Brewfile.
             + optionalString (sCfg ? restart_service) (
               ", restart_service: " + (
                 if isBool config.restart_service then sCfg.restart_service
  
positive.code:     ];
  
      warnings = [
        (mkIf (options.homebrew.autoUpdate.isDefined || options.homebrew.cleanup.isDefined) "The `homebrew' module no longer upgrades outdated formulae and apps by default during `nix-darwin' activation. To enable upgrading, set `homebrew.onActivation.upgrade = true'.")
      ];
  
      homebrew.brews =
  
negative.code:         default = false;
          description = ''
            Whether to enable Homebrew to auto-update itself and all formulae during
            <command>nix-darwin</command> system activation. The default is <literal>false</literal>
            so that repeated invocations of <command>darwin-rebuild switch</command> are idempotent.
  
            Note that Homebrew auto-updates when it's been more then 5 minutes since it last updated.
  
            Although auto-updating is disabled by default during system activation, note that Homebrew
            will auto-update when you manually invoke certain Homebrew commands. To modify this
            behavior see ${mkDocOptionLink "homebrew.global.autoUpdate"}.
          '';
        };
        upgrade = mkOption {
  