programs.msmtp.accounts
Named accounts and their respective configurations. The special name "default" allows a default account to be defined. See msmtp(1) for the available options.
Use programs.msmtp.extraConfig instead of this attribute set-based
option if ordered account inheritance is needed.
It is advised to use the passwordeval setting to read the password
from a secret file to avoid having it written in the world-readable
nix store. The password file must end with a newline (\n).
- Type
attribute set of (attribute set)- Default
{ }- Example
{ default = { auth = true; host = "smtp.example"; passwordeval = "cat /secrets/password.txt"; user = "someone"; }; }- Declared
- <nixpkgs/nixos/modules/programs/msmtp.nix>