forked from DGNum/infrastructure
13 lines
244 B
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; }
|