diff --git a/applications/games.nix b/applications/games.nix index 7d1edc4..7c7b126 100644 --- a/applications/games.nix +++ b/applications/games.nix @@ -5,7 +5,7 @@ in { imports = [ ./dns.nix - ./acme.nix + ./games/minecraft.nix ]; @@ -44,10 +44,6 @@ config = mkIf cfg.enable { - skynet_acme.domains = [ - "${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}" - ]; - skynet_dns.records = [ # need a base domain {record=cfg.domain.sub; r_type="CNAME"; value=cfg.host.name;} diff --git a/applications/games/minecraft.nix b/applications/games/minecraft.nix index 7e1d2c3..4fc1a17 100644 --- a/applications/games/minecraft.nix +++ b/applications/games/minecraft.nix @@ -54,12 +54,8 @@ ]; skynet_acme.domains = [ - "${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}" - "config.${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}" - "compsoc_classic.${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}" - "compsoc.${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}" - "gsoc.${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}" - "gsoc_abridged.${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}" + "${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}" + "*.${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}" ]; skynet_dns.records = [