infrastructure/config/services/website.nix
2022-07-10 13:58:39 -07:00

14 lines
229 B
Nix

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