21 lines
374 B
Nix
21 lines
374 B
Nix
|
{ config, ... }:
|
||
|
{
|
||
|
imports = [ ./nginx ];
|
||
|
|
||
|
services.go-autoconfig = {
|
||
|
enable = config.system.mailserver.enable;
|
||
|
settings = {
|
||
|
service_addr = ":1323";
|
||
|
domain = "autoconfig.nixfox.ca";
|
||
|
imap = {
|
||
|
server = "mx.nixfox.ca";
|
||
|
port = 143;
|
||
|
};
|
||
|
smtp = {
|
||
|
server = "mx.nixfox.ca";
|
||
|
port = 587;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|