infrastructure/config/services/website.nix

13 lines
228 B
Nix

{ config, lib, pkgs, ... }:
{
network.dns.isRoot = true;
services.nginx.virtualHosts = {
"${config.network.dns.domain}" = {
root = pkgs.gensokyoZone;
enableACME = true;
forceSSL = true;
};
};
}