summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/mail-server.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/config/mail-server.nix b/config/mail-server.nix
index 9e45b3d..cb74b72 100644
--- a/config/mail-server.nix
+++ b/config/mail-server.nix
@@ -9,11 +9,11 @@
extraConfig = ''
passdb {
driver = passwd-file
- args = username_format=%n /var/lib/dovecot/passwd
+ args = username_format=%n /opt/secret/dovecot-passwd
}
userdb {
driver = passwd-file
- args = username_format=%n /var/lib/dovecot/passwd
+ args = username_format=%n /opt/secret/dovecot-passwd
}
mail_debug = yes
service auth {
@@ -30,7 +30,7 @@
services.postfix = {
enable = true;
- hostname = "semeai";
+ hostname = "shape";
domain = "orbekk.com";
destination = ["orbekk.com" "kj.orbekk.com" "orbekk.no" "kj.orbekk.no" "kufieta.net"];
@@ -77,5 +77,8 @@
lise: ${lise}
'';
+ sslCert = "${config.security.acme.directory}/shape.orbekk.com/fullchain.pem";
+ sslCACert = "${config.security.acme.directory}/shape.orbekk.com/fullchain.pem";
+ sslKey = "${config.security.acme.directory}/shape.orbekk.com/key.pem";
};
}