feat(hakurei): docs

This commit is contained in:
arcnmx 2024-02-22 14:14:12 -08:00
parent c0e241b83c
commit 1d038633ce
11 changed files with 238 additions and 2 deletions

View file

@ -8,8 +8,18 @@
inherit (lib.modules) mkDefault;
in {
services.nginx.virtualHosts.${config.networking.domain} = {
locations."/" = {
root = inputs.website.packages.${pkgs.system}.gensokyoZone;
locations = {
"/" = {
root = inputs.website.packages.${pkgs.system}.gensokyoZone;
};
"/docs" = {
root = pkgs.linkFarm "genso-docs-wwwroot" [
{
name = "docs";
path = inputs.self.packages.${pkgs.system}.docs;
}
];
};
};
};
}