summary refs log tree commit diff
path: root/host/Rory-nginx/services/email/autoconfig.nix
blob: 7dd183a140bf627639f6b8b4ba5902989210bd75 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ ... }:
{
  services.go-autoconfig = {
    enable = true;
    settings = {
      service_addr = ":1323";
      domain = "autodiscover.rory.gay";
      imap = {
        server = "rory.gay";
        port = 993;
      };
      smtp = {
        server = "rory.gay";
        port = 587;
      };
    };
  };
}