fix: hopefully this works for acme
This commit is contained in:
parent
5739518f82
commit
89dcf295b3
1 changed files with 5 additions and 1 deletions
|
@ -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;}
|
||||||
|
|
Loading…
Reference in a new issue