diff options
author | John Boehr <jbboehr@gmail.com> | 2017-11-09 13:13:27 -0800 |
---|---|---|
committer | John Boehr <jbboehr@gmail.com> | 2017-11-09 13:13:27 -0800 |
commit | ebd0f656eda09cb55ca78ee01ce1273f8b953483 (patch) | |
tree | 57e91efa21b3ec43d5ad1e1d8312f123db88b606 /nixops | |
parent | 3d2f41dedca389355d2c4a8c125a4d440c4484f7 (diff) |
Preliminary multi-domain support
Diffstat (limited to 'nixops')
-rw-r--r-- | nixops/single-server.nix | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/nixops/single-server.nix b/nixops/single-server.nix index 15e9e5e..8072233 100644 --- a/nixops/single-server.nix +++ b/nixops/single-server.nix @@ -11,17 +11,22 @@ mailserver = { enable = true; domain = "example.com"; + extraDomains = [ "example2.com" ]; hostPrefix = "mail"; loginAccounts = { - user1 = { + "user1@example.com" = { hashedPassword = "$6$/z4n8AQl6K$kiOkBTWlZfBd7PvF5GsJ8PmPgdZsFGN1jPGZufxxr60PoR0oUsrvzm2oQiflyz5ir9fFJ.d/zKm/NgLXNUsNX/"; }; }; virtualAliases = { - info = "user1"; - postmaster = "user1"; - abuse = "user1"; + "user1@example2.com" = "user1@example.com"; + "info@example.com" = "user1@example.com"; + "postmaster@example.com" = "user1@example.com"; + "abuse@example.com" = "user1@example.com"; + "info@example2.com" = "user1@example.com"; + "postmaster@example2.com" = "user1@example.com"; + "abuse@example2.com" = "user1@example.com"; }; }; }; |