<commit_before>{ config, lib, ... }:

with lib;

{
  options.msmtp = {
    enable = mkOption {
      type = types.bool;
      default = false;
      description = ''
        Whether to enable msmtp.
        </para><para>
        If enabled then it is possible to use the
        <option>--account</option> command line option to send a
        message for a given account using the <command>msmtp</command>
        or <command>msmtpq</command> tool. For example,
        <command>msmtp --account=private</command>
        would send using the account defined in
        <option>accounts.email.accounts.private</option>. If the
        <option>--account</option> option is not given then the
        primary account will be used.
      '';
    };

    extraConfig = mkOption {
      type = types.attrsOf types.str;
      default = { };
      example = { auth = "login"; };
      description = ''
        Extra configuration options to add to <filename>~/.msmtprc</filename>.
        See <link xlink:href="https://marlam.de/msmtp/msmtprc.txt"/> for
        examples.
      '';
    };
  };
}<commit_msg>msmtp: use `<parameter>` for CLI options in description<commit_after>{ config, lib, ... }:

with lib;

{
  options.msmtp = {
    enable = mkOption {
      type = types.bool;
      default = false;
      description = ''
        Whether to enable msmtp.
        </para><para>
        If enabled then it is possible to use the
        <parameter class="command">--account</parameter> command line
        option to send a message for a given account using the
        <command>msmtp</command> or <command>msmtpq</command> tool.
        For example, <command>msmtp --account=private</command> would
        send using the account defined in
        <option>accounts.email.accounts.private</option>. If the
        <parameter class="command">--account</parameter> option is not
        given then the primary account will be used.
      '';
    };

    extraConfig = mkOption {
      type = types.attrsOf types.str;
      default = { };
      example = { auth = "login"; };
      description = ''
        Extra configuration options to add to <filename>~/.msmtprc</filename>.
        See <link xlink:href="https://marlam.de/msmtp/msmtprc.txt"/> for
        examples.
      '';
    };
  };
}
{'fraction_non_alphanumeric': 0.1220472440944882, 'fraction_numerical': 0.0, 'mean_word_length': 2.230225988700565, 'pattern_counts': {'":': 0, '<': 38, '<?xml version=': 0, '>': 38, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4920420', 'n_tokens_mistral': 658, 'n_tokens_neox': 652, 'n_words': 195}