anchor.diff:        type = types.lines;
         default = "";
         example = ''
  -        # 'brew cask install --appdir=~/my-apps/Applications'
  -        cask "firefox", args: { appdir: "~/my-apps/Applications" }
           # 'brew cask install' only if '/usr/libexec/java_home --failfast' fails
           cask "java" unless system "/usr/libexec/java_home --failfast"
         '';
  -      description = "Extra lines to be added verbatim to the generated Brewfile.";
  +      description = "Extra lines to be added verbatim to bottom of the generated Brewfile.";
       };
     };
   
  
positive.code:     };
  
      casks = mkOption {
        type = with types; listOf str;
        default = [];
        example = [ "hammerspoon" "virtualbox" ];
        description = "Homebrew casks to install.";
      };
  
      masApps = mkOption {
  
negative.code:     concatStringsSep "\n" (mapAttrsToList (name: id: ''mas "${name}", id: ${toString id}'') entries) +
      "\n"
    );
  
    brewfile = pkgs.writeText "Brewfile" (
      mkBrewfileSectionString "Taps" "tap" cfg.taps +
  