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

12 lines
251 B
Nix

{ config, lib, toolsets, ... }:
let
tools = toolsets.nginx {
inherit lib config;
domain = "cdn-shield.imagine-using-oca.ml";
};
in
{
services.nginx.virtualHosts = tools.mappers.mapSubdomains (import ./shields.nix { inherit tools; });
}