system/machines/magenta/services/mailserver.nix

19 lines
421 B
Nix
Raw Normal View History

2022-10-18 00:42:23 +03:00
{ ... }:
{
2022-10-19 19:17:37 +03:00
imports = [ ./mailserver-accounts.secret.nix ];
2022-10-18 00:42:23 +03:00
# See: https://nixos-mailserver.readthedocs.io/en/latest/options.html
mailserver = {
enable = true;
fqdn = "mail.pleshevski.ru";
domains = [ "pleshevski.ru" ];
# Use Let's Encrypt certificates. Note that this needs to set up a stripped
# down nginx and opens port 80.
certificateScheme = 3;
hierarchySeparator = "/";
};
}