mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
msmtp: add extraAccounts option
It is appended to the end of msmtprc instead of top like extraConfig.
This commit is contained in:
parent
17a10287d2
commit
f567ea8228
1 changed files with 11 additions and 0 deletions
|
@ -37,6 +37,8 @@ let
|
|||
${cfg.extraConfig}
|
||||
|
||||
${concatStringsSep "\n\n" (map accountStr mailAccounts)}
|
||||
|
||||
${cfg.extraAccounts}
|
||||
'';
|
||||
|
||||
in {
|
||||
|
@ -53,6 +55,15 @@ in {
|
|||
See <link xlink:href="https://marlam.de/msmtp/msmtprc.txt"/> for examples.
|
||||
'';
|
||||
};
|
||||
|
||||
extraAccounts = mkOption {
|
||||
type = types.lines;
|
||||
default = "";
|
||||
description = ''
|
||||
Extra configuration lines to add to the end of <filename>~/.msmtprc</filename>.
|
||||
See <link xlink:href="https://marlam.de/msmtp/msmtprc.txt"/> for examples.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
accounts.email.accounts = mkOption {
|
||||
|
|
Loading…
Reference in a new issue