summaryrefslogtreecommitdiffstats
path: root/nixops
diff options
context:
space:
mode:
authorJohn Boehr <jbboehr@gmail.com>2017-11-11 09:44:45 +0000
committerJohn Boehr <john@johnboehr.is>2017-11-11 09:45:06 +0000
commit16fb41de0167face01d63ae02f86d96768b6d493 (patch)
treedbdf62f38cfaa9e7940479def36dbc157d14a0f4 /nixops
parenta745abaa8ebcbaeb225243e54487a4816eeccdf8 (diff)
Change domain to fqdn and extraDomains to domains
Diffstat (limited to 'nixops')
-rw-r--r--nixops/single-server.nix22
1 files changed, 10 insertions, 12 deletions
diff --git a/nixops/single-server.nix b/nixops/single-server.nix
index af909d1..abcd671 100644
--- a/nixops/single-server.nix
+++ b/nixops/single-server.nix
@@ -10,23 +10,21 @@
mailserver = {
enable = true;
- domain = "example.com";
- extraDomains = [ "example2.com" ];
-
- hostPrefix = "mail";
+ fqdn = "mail.example.com";
+ domains = [ "example.com", "example2.com" ];
loginAccounts = {
- "user1" = {
+ "user1@example.com" = {
hashedPassword = "$6$/z4n8AQl6K$kiOkBTWlZfBd7PvF5GsJ8PmPgdZsFGN1jPGZufxxr60PoR0oUsrvzm2oQiflyz5ir9fFJ.d/zKm/NgLXNUsNX/";
};
};
virtualAliases = {
- "info" = "user1";
- "postmaster" = "user1";
- "abuse" = "user1";
- "user1@example2.com" = "user1";
- "info@example2.com" = "user1";
- "postmaster@example2.com" = "user1";
- "abuse@example2.com" = "user1";
+ "info@example.com" = "user1@example.com";
+ "postmaster@example.com" = "user1@example.com";
+ "abuse@example.com" = "user1@example.com";
+ "user1@example2.com" = "user1@example.com";
+ "info@example2.com" = "user1@example.com";
+ "postmaster@example2.com" = "user1@example.com";
+ "abuse@example2.com" = "user1@example.com";
};
};
};