mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00:39 +02:00
fix: remove typo in maddy config, add maddy to acme group
This commit is contained in:
parent
5e0f8b6f96
commit
83f42517b3
5 changed files with 5 additions and 2 deletions
|
@ -22,7 +22,7 @@ in {
|
|||
};
|
||||
dnsProvider = "cloudflare";
|
||||
dnsPropagationCheck = true;
|
||||
reloadServices = ["nginx"];
|
||||
reloadServices = ["nginx" "maddy"];
|
||||
};
|
||||
inherit (acme) certs wildcardDomains;
|
||||
};
|
||||
|
|
|
@ -79,6 +79,8 @@ in {
|
|||
];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [25 465 993];
|
||||
users.groups.acme.members = ["maddy"];
|
||||
|
||||
services.maddy = {
|
||||
enable = true;
|
||||
hostname = "mx1.${primaryDomain}";
|
||||
|
@ -119,7 +121,7 @@ in {
|
|||
|
||||
table.chain local_rewrites {
|
||||
optional_step sql_query {
|
||||
driver sqlite
|
||||
driver sqlite3
|
||||
dsn mailboxes.db
|
||||
lookup "SELECT alias FROM aliases WHERE address = $1"
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue