mirror of
https://github.com/nix-community/home-manager
synced 2024-11-05 10:49:44 +01:00
cfa06c3f38
msmtp is a simple mail transfer agent (MTA).
25 lines
738 B
Nix
25 lines
738 B
Nix
{ 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.
|
|
'';
|
|
};
|
|
};
|
|
}
|