refactor(email-options): selfprivacy.email.domain -> subdomain
This commit is contained in:
@@ -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 (
|
||||
|
Reference in New Issue
Block a user