Not sure what mkList even was supposed to do...
parent
16396b5459
commit
20252a7cc9
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue