nix-config/modules/data-hoarder/documentation.nix
github-actions[bot] b93356b0b2 Remove dead code
2022-09-25 23:50:13 +00:00

24 lines
519 B
Nix

{ pkgs, config, ... }:
let
documentation-package = pkgs.callPackage ../../pkgs/documentation.nix { };
in {
services = {
nginx = {
enable = true;
recommendedProxySettings = true;
virtualHosts = {
"docs.${config.dump-dvb.domain}" = {
enableACME = true;
forceSSL = true;
locations = {
"/" = {
root = "${documentation-package}/bin/";
index = "index.html";
};
};
};
};
};
};
}