stalwart: progress

This commit is contained in:
Bloxx12 2025-05-22 22:06:58 +02:00
commit 79d75bb7c2
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E

View file

@ -7,7 +7,7 @@
inherit (lib.modules) mkIf;
inherit (lib.options) mkEnableOption;
domain = "mail.charlieroot.dev";
domain = "charlieroot.dev";
cfg = config.modules.system.services.stalwart;
in {
@ -66,7 +66,7 @@ in {
};
jmap = {
bind = ["localhost::8080" "[::]:8080"];
url = "https://${domain}";
url = "https://mail.${domain}";
protocol = "jmap";
tls.implicit = true;
};
@ -77,7 +77,7 @@ in {
};
};
lookup.default = {
hostname = domain;
hostname = "mail.${domain}";
inherit domain;
};
};
@ -122,7 +122,7 @@ in {
};
services.nginx = {
enable = true;
virtualHosts.${domain} = {
virtualHosts."mail.${domain}" = {
addSSL = true;
enableACME = true;
locations."/" = {