Integrate mailman3 service into my existing configuration.
This commit is contained in:
parent
df12a85010
commit
d9ecea0a17
4 changed files with 42 additions and 14 deletions
|
@ -5,6 +5,7 @@ with lib;
|
|||
{
|
||||
imports = [
|
||||
../../options/machine.nix
|
||||
../../options/mailman3/options.nix
|
||||
];
|
||||
|
||||
config.machine = rec {
|
||||
|
@ -48,4 +49,22 @@ with lib;
|
|||
allowedTCPPortRanges = [];
|
||||
};
|
||||
};
|
||||
config.services.mailman3 = {
|
||||
enable = true;
|
||||
site_owner = "derped@ophanim.de";
|
||||
database = {
|
||||
type = "mysql";
|
||||
name = "mailman3";
|
||||
user = "mailman3";
|
||||
host = "localhost";
|
||||
port = 3306;
|
||||
passwordFile = "/secret/mailman3_db";
|
||||
};
|
||||
mta = {
|
||||
lmtp_host = "mail.ophanim.de";
|
||||
smtp_host = "mail.ophanim.de";
|
||||
smtp_user = "mailman3";
|
||||
smtp_passFile = "/secret/mailman3_mail";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue