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 = {
sonarr.domain = "sonarr.${hlConfig.domain}";
traefik.wildcardDomains = [ hlConfig.domain ];
};
stateVersion = "24.05";
};

View File

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