nixfiles/config/services/website/default.nix
2021-08-18 02:25:15 +01:00

13 lines
231 B
Nix

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