Tom Hubrecht
de68b989ed
All checks were successful
build configuration / build_storage01 (push) Successful in 50s
build configuration / build_compute01 (push) Successful in 1m12s
build configuration / build_web01 (push) Successful in 1m45s
npins update / npins_update (push) Successful in 19s
ds-fr update / npins_update (push) Successful in 2m28s
13 lines
240 B
Nix
13 lines
240 B
Nix
_:
|
|
|
|
let
|
|
websites = import ./npins;
|
|
|
|
mkVhost = name:
|
|
{ outPath, ... }: {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
root = "${outPath}/www";
|
|
};
|
|
|
|
in { services.nginx.virtualHosts = builtins.mapAttrs mkVhost websites; }
|