about summary refs log tree commit diff
path: root/systems/cobalt
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-08-08 00:41:55 +0900
committersefidel <contact@sefidel.net>2023-08-08 01:02:13 +0900
commit78c46d7530b22b0f7b08bc1eb5cc183274f4964c (patch)
tree600fed7dd6bafa9c043816f96e070e838194cea2 /systems/cobalt
parent76bb322561b0e09c57574c350a58d76c9c798c78 (diff)
downloadinfra-78c46d7530b22b0f7b08bc1eb5cc183274f4964c.tar.gz
infra-78c46d7530b22b0f7b08bc1eb5cc183274f4964c.zip
feat(systems/cobalt): configure webmail
Diffstat (limited to 'systems/cobalt')
-rw-r--r--systems/cobalt/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/systems/cobalt/default.nix b/systems/cobalt/default.nix
index 678b99a..ab2b79e 100644
--- a/systems/cobalt/default.nix
+++ b/systems/cobalt/default.nix
@@ -223,6 +223,7 @@ in
             "turn"
             "status"
             "mail"
+            "webmail"
             "todo"
           ];
         };
@@ -331,7 +332,15 @@ in
       secrets.searx-env = config.sops.secrets.searx-env.path;
     };
 
-    services.nixos-mailserver.enable = true; # TODO: replace with dovecot.nix?
+    # TODO: replace with dovecot.nix?
+    services.nixos-mailserver = {
+      enable = true;
+      webmail = {
+        enable = true;
+        domain = "exotic.sh";
+        realHost = "webmail.exotic.sh";
+      };
+    };
 
     services.jitsi = {
       enable = true;