18 lines
414 B
Nix
18 lines
414 B
Nix
{ ... }:
|
|
|
|
{
|
|
imports = [ ./mailserver-accounts.nix ];
|
|
|
|
# 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 = "/";
|
|
};
|
|
}
|