Not sure what mkList even was supposed to do...
parent
16396b5459
commit
20252a7cc9
|
@ -20,6 +20,7 @@ in
|
|||
];
|
||||
config = {
|
||||
sonarr.domain = "sonarr.${hlConfig.domain}";
|
||||
traefik.wildcardDomains = [ hlConfig.domain ];
|
||||
};
|
||||
stateVersion = "24.05";
|
||||
};
|
||||
|
|
|
@ -79,12 +79,10 @@
|
|||
|
||||
tls = {
|
||||
certResolver = "letsencrypt";
|
||||
domains = mkList (
|
||||
map (domain: {
|
||||
domains = map (domain: {
|
||||
main = domain;
|
||||
sans = [ "*.${domain}" ];
|
||||
}) cfg.wildcardDomains
|
||||
);
|
||||
}) cfg.wildcardDomains;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue