depot/hosts/VEGAS/services/cdn-shield/default.nix
2022-01-14 22:49:38 +01:00

11 lines
254 B
Nix

{ 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; });
}