infrastructure/depot/services/website/default.nix
2021-08-12 15:26:11 +01:00

13 lines
227 B
Nix

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