{ config, lib, ... }: with lib; { options.msmtp = { enable = mkOption { type = types.bool; default = false; description = '' Whether to enable msmtp. If enabled then it is possible to use the --account command line option to send a message for a given account using the msmtp or msmtpq tool. For example, msmtp --account=private would send using the account defined in . If the --account 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 ~/.msmtprc. See for examples. ''; }; }; }