stalwart: progress
This commit is contained in:
parent
6d4540dd25
commit
79d75bb7c2
1 changed files with 4 additions and 4 deletions
|
@ -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."/" = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue