discovery-scope

This commit is contained in:
2026-04-14 15:24:12 +02:00
parent 3630b9583b
commit fc6a5e6c29
2 changed files with 18 additions and 7 deletions
+4 -7
View File
@@ -13,13 +13,10 @@ lib.mkIf hasMailDiscoveryConfig (
domain = builtins.head cfg.domains;
radicaleHost = "cal.${domain}";
mailAccounts = cfg.loginAccounts;
discoveryHosts = lib.unique (
cfg.domains
++ [
cfg.fqdn
radicaleHost
]
);
discoveryHosts = lib.unique [
cfg.fqdn
radicaleHost
];
accountHash =
mail: account: