forked from mirrors_public/oddlama_nix-config
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";
|
dnsProvider = "cloudflare";
|
||||||
dnsPropagationCheck = true;
|
dnsPropagationCheck = true;
|
||||||
reloadServices = ["nginx"];
|
reloadServices = ["nginx" "maddy"];
|
||||||
};
|
};
|
||||||
inherit (acme) certs wildcardDomains;
|
inherit (acme) certs wildcardDomains;
|
||||||
};
|
};
|
||||||
|
|
|
@ -79,6 +79,8 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [25 465 993];
|
networking.firewall.allowedTCPPorts = [25 465 993];
|
||||||
|
users.groups.acme.members = ["maddy"];
|
||||||
|
|
||||||
services.maddy = {
|
services.maddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostname = "mx1.${primaryDomain}";
|
hostname = "mx1.${primaryDomain}";
|
||||||
|
@ -119,7 +121,7 @@ in {
|
||||||
|
|
||||||
table.chain local_rewrites {
|
table.chain local_rewrites {
|
||||||
optional_step sql_query {
|
optional_step sql_query {
|
||||||
driver sqlite
|
driver sqlite3
|
||||||
dsn mailboxes.db
|
dsn mailboxes.db
|
||||||
lookup "SELECT alias FROM aliases WHERE address = $1"
|
lookup "SELECT alias FROM aliases WHERE address = $1"
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
|
@ -30,5 +30,6 @@
|
||||||
fwupd-refresh = uidGid 979;
|
fwupd-refresh = uidGid 979;
|
||||||
radicale = uidGid 978;
|
radicale = uidGid 978;
|
||||||
podman = uidGid 977;
|
podman = uidGid 977;
|
||||||
|
maddy = uidGid 976;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue