summaryrefslogtreecommitdiff
path: root/services/website.nix
blob: d36f538a27b41b023b517cd78a764e62f2857bd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ webroot }: { config, lib, pkgs, ... }:
{
  services.nginx.enable = true;
  services.nginx.virtualHosts."crashoverburn.com" = {
    addSSL = true;
    enableACME = true;
    root = webroot;
  };
  services.nginx.virtualHosts."crashoverburn.online" = {
    addSSL = true;
    enableACME = true;
    root = webroot;
  };
}