diff --git a/config/host-config/procul.nix b/config/host-config/procul.nix index 6ebd6b8..eb87d85 100644 --- a/config/host-config/procul.nix +++ b/config/host-config/procul.nix @@ -87,22 +87,31 @@ in { hosts.procul.external-interfaces = [ "extif0" ]; acme.host-domains.${hostname} = { - ${host-fqdn}.local-copies = { - postgresql = { - user = config.systemd.services.postgresql.serviceConfig.User; - dependent-services = [ "postgresql.service" ]; - part-of = [ config.fudo.postgresql.systemd-target ]; + ${host-fqdn} = { + admin-email = "admin@${domain-name}"; + local-copies = { + postgresql = { + user = config.systemd.services.postgresql.serviceConfig.User; + dependent-services = [ "postgresql.service" ]; + part-of = [ config.fudo.postgresql.systemd-target ]; + }; }; }; - "imap.${domain-name}".local-copies.dovecot = { - user = config.services.dovecot2.user; - dependent-services = [ "dovecot2.service" ]; + "imap.${domain-name}" = { + admin-email = "admin@${domain-name}"; + local-copies.dovecot = { + user = config.services.dovecot2.user; + dependent-services = [ "dovecot2.service" ]; + }; }; - "smtp.${domain-name}".local-copies.postfix = { - user = config.services.postfix.user; - dependent-services = [ "postfix.service" ]; + "smtp.${domain-name}" = { + admin-email = "admin@${domain-name}"; + local-copies.postfix = { + user = config.services.postfix.user; + dependent-services = [ "postfix.service" ]; + }; }; }; @@ -242,16 +251,5 @@ in { listen-port = 2222; }; }; - - acme = { - enable = true; - admin-address = "admin@${domain-name}"; - hostnames = [ - "informis.land" - "imap.informis.land" - "smtp.informis.land" - "gemini.informis.land" - ]; - }; }; } diff --git a/flake.lock b/flake.lock index ffc0a7d..c8a4037 100644 --- a/flake.lock +++ b/flake.lock @@ -297,7 +297,7 @@ }, "fudo-lib_2": { "locked": { - "narHash": "sha256-epp76qOzc1TQ0ESqTVqE6ZUjXj5tPSjIea8Gc+MyoLI=", + "narHash": "sha256-O2CsIArXcPyiBtDbAiFNU2IvIBTqEljrwDJkGF0STbw=", "path": "/state/fudo-lib", "type": "path" },