1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Use the same domain for all acme

This commit is contained in:
RGBCube 2024-01-11 18:39:07 +03:00
parent 0c85685729
commit dabf115594
No known key found for this signature in database
3 changed files with 5 additions and 3 deletions

View file

@ -1,6 +1,8 @@
{ config, ulib, ... }: with ulib;
serverSystemConfiguration {
services.nginx.virtualHosts.${config.mailserver.fqdn}.useACMEHost = config.networking.domain;
mailserver = enabled {
domains = [ config.networking.domain ];
fqdn = "mail.${config.networking.domain}";