summaryrefslogtreecommitdiffstats
path: root/tv/2configs/nginx/krebs-pages.nix
blob: 4dd643db70494cf12137e6c2e36b606a48c02aa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ config, pkgs, ... }:
{
  services.nginx = {
    virtualHosts.krebs-pages = {
      serverAliases = [
        "krebs.${config.krebs.build.host.name}.r"
      ];
      extraConfig = ''
        root ${pkgs.krebs-pages};
      '';
    };
  };
}