depot/hosts/VEGAS/services/cdn-shield/default.nix

12 lines
254 B
Nix
Raw Normal View History

2021-10-16 16:07:53 +03:00
{ config, lib, toolsets, ... }:
let
tools = toolsets.nginx {
inherit lib config;
domain = "cdn-shield.${toolsets.meta.domain}";
};
in
{
services.nginx.virtualHosts = tools.mappers.mapSubdomains (import ./shields.nix { inherit tools; });
}