services.maddy.ensureCredentials

List of user accounts which get automatically created if they don't exist yet. Note that for a complete setup, corresponding mail boxes have to get created using the ensureAccounts option. This option does not delete accounts which are not (anymore) listed.

Type
attribute set of (submodule)
Default
{ }
Example
{
  "user1@localhost" = {
    passwordFile = /secrets/user1-localhost;
  };
  "user2@localhost" = {
    passwordFile = /secrets/user2-localhost;
  };
}
Declared
<nixpkgs/nixos/modules/services/mail/maddy.nix>