infrastructure/machines/web01/static/default.nix

13 lines
244 B
Nix

_:
let
websites = import ./npins;
mkVhost = name:
{ outPath, ... }: {
# enableACME = true;
# forceSSL = true;
root = "${outPath}/www";
};
in { services.nginx.virtualHosts = builtins.mapAttrs mkVhost websites; }