refactor(email-options): selfprivacy.email.domain -> subdomain

This commit is contained in:
2025-09-16 19:08:15 +03:00
parent 544c9b81b4
commit c615322c4e
2 changed files with 4 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ let
inherit (value) hashedPasswordFile sendOnly;
}
) sp.email;
extraDomains = lib.mapAttrsToList (_: value: value.domain) sp.email;
extraDomains = lib.mapAttrsToList (_: value: "${value.subdomain}.${sp.domain}") sp.email;
extraTargets = lib.mapAttrsToList (_: value: value.systemdTargets) sp.email;
in
lib.mkIf sp.modules.simple-nixos-mailserver.enable (