mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat(hakurei): docs
This commit is contained in:
parent
c0e241b83c
commit
1d038633ce
11 changed files with 238 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue