fix: hopefully this works for acme

This commit is contained in:
silver 2023-08-06 20:50:01 +01:00
parent 5739518f82
commit 89dcf295b3

View file

@ -5,7 +5,7 @@
in { in {
imports = [ imports = [
./dns.nix ./dns.nix
./acme.nix
./games/minecraft.nix ./games/minecraft.nix
]; ];
@ -44,6 +44,10 @@
config = mkIf cfg.enable { config = mkIf cfg.enable {
skynet_acme.domains = [
"${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}"
];
skynet_dns.records = [ skynet_dns.records = [
# need a base domain # need a base domain
{record=cfg.domain.sub; r_type="CNAME"; value=cfg.host.name;} {record=cfg.domain.sub; r_type="CNAME"; value=cfg.host.name;}