summaryrefslogtreecommitdiff
path: root/hosts/cloud/sing
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2024-08-29 05:36:51 +0700
committerpolwex <polwex@sortug.com>2024-08-29 05:36:51 +0700
commit6a7fa5ae7c243b3dd1f0d5a4221c3b69a4bdbab7 (patch)
tree92bbcba620a629322e3663c980ed656e339777f7 /hosts/cloud/sing
parent77925a0afa7c237e99cd69d2a94c47c140483f84 (diff)
m
Diffstat (limited to 'hosts/cloud/sing')
-rw-r--r--hosts/cloud/sing/mail.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/hosts/cloud/sing/mail.nix b/hosts/cloud/sing/mail.nix
index 09a070d..1b88877 100644
--- a/hosts/cloud/sing/mail.nix
+++ b/hosts/cloud/sing/mail.nix
@@ -1,8 +1,12 @@
-{
- mailserver = {
+{
+ config,
+ pkgs,
+ ...
+}: {
+ mailserver = {
enable = true;
fqdn = "mail.sortug.com";
- domains = [ "sortug.com" ];
+ domains = ["sortug.com"];
# A list of all login accounts. To create the password hashes, use
# nix-shell -p mkpasswd --run 'mkpasswd -sm bcrypt'
@@ -22,7 +26,8 @@
"info@sortug.com" = {
hashedPasswordFile = "/home/y/mail.key";
};
- "admin@sortug.com" = { # legal and banking
+ "admin@sortug.com" = {
+ # legal and banking
hashedPasswordFile = "/home/y/mail.key";
};
"internal@sortug.com" = {