summary refs log tree commit diff
path: root/host/Rory-nginx/services/email/autoconfig.nix
blob: d258046c4d92a5ce62a6503463fb5a1318a1bea9 (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 = "autoconfig.rory.gay";
      imap = {
        server = "rory.gay";
        port = 993;
      };
      smtp = {
        server = "rory.gay";
        port = 587;
      };
    };
  };
}