summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-03-18 17:22:46 +0100
committerene <ene@sils.li>2023-03-18 17:41:28 +0100
commitd6fbe642e5762f1bd79dcfb0e68bf7df1c902d8d (patch)
treed051d1609b38983ab017d100dd99b0ce5e91444d
parentFeat(system/mail): Use '/' to separate mailboxes (diff)
downloadnixos-server-d6fbe642e5762f1bd79dcfb0e68bf7df1c902d8d.tar.gz
nixos-server-d6fbe642e5762f1bd79dcfb0e68bf7df1c902d8d.zip
Style(system/mail): Reorder options
I just think this is easier to read.
Diffstat (limited to '')
-rw-r--r--system/mail/default.nix25
1 files changed, 14 insertions, 11 deletions
diff --git a/system/mail/default.nix b/system/mail/default.nix
index 98af119..7a206f5 100644
--- a/system/mail/default.nix
+++ b/system/mail/default.nix
@@ -10,19 +10,8 @@ in {
   fqdn = "server1.vhack.eu";
   domains = ["vhack.eu"];
 
-  enableImap = false;
-  enableImapSsl = true;
-  enablePop3 = false;
-  enablePop3Ssl = true;
-  # SMTP
-  enableSubmission = false;
-  enableSubmissionSsl = true;
   useFsLayout = true;
 
-  mailDirectory = "/srv/mail/vmail";
-  dkimKeyDirectory = "/srv/mail/dkim";
-  backup.snapshotRoot = "/srv/mail/backup";
-
   loginAccounts = {
     "sils@vhack.eu" = {
       hashedPassword = "$2b$05$RW/Svgk7iGxvP5W7ZwUZ1e.a3fj4fteevb2MtfFYYD0d1DQ17y9Fm";
@@ -35,7 +24,21 @@ in {
     "admin@vhack.eu" = all_admins;
   };
 
+
+  mailDirectory = "/srv/mail/vmail";
+  dkimKeyDirectory = "/srv/mail/dkim";
   sieveDirectory = "/srv/mail/sieve";
+  backup.snapshotRoot = "/srv/mail/backup";
+
+
+  enableImap = false;
+  enableImapSsl = true;
+  enablePop3 = false;
+  enablePop3Ssl = true;
+  # SMTP
+  enableSubmission = false;
+  enableSubmissionSsl = true;
+
   keyFile = "/var/lib/acme/server1.vhack.eu/key.pem";
   certificateScheme = 1;
   certificateFile = "/var/lib/acme/server1.vhack.eu/fullchain.pem";