Not sure what mkList even was supposed to do...

main
kalle 2024-12-26 19:23:12 +01:00
parent 16396b5459
commit 20252a7cc9
2 changed files with 5 additions and 6 deletions

View File

@ -20,6 +20,7 @@ in
]; ];
config = { config = {
sonarr.domain = "sonarr.${hlConfig.domain}"; sonarr.domain = "sonarr.${hlConfig.domain}";
traefik.wildcardDomains = [ hlConfig.domain ];
}; };
stateVersion = "24.05"; stateVersion = "24.05";
}; };

View File

@ -79,12 +79,10 @@
tls = { tls = {
certResolver = "letsencrypt"; certResolver = "letsencrypt";
domains = mkList ( domains = map (domain: {
map (domain: { main = domain;
main = domain; sans = [ "*.${domain}" ];
sans = [ "*.${domain}" ]; }) cfg.wildcardDomains;
}) cfg.wildcardDomains
);
}; };
}; };
}; };