mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
refactor: stop using inputs.self
This commit is contained in:
parent
213430704f
commit
8601560f7d
27 changed files with 111 additions and 130 deletions
|
|
@ -1,23 +1,21 @@
|
|||
{
|
||||
config,
|
||||
gensokyo-zone,
|
||||
lib,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkDefault;
|
||||
in {
|
||||
}: {
|
||||
services.nginx.virtualHosts.gensokyoZone = {
|
||||
serverName = config.networking.domain;
|
||||
locations = {
|
||||
"/" = {
|
||||
root = inputs.website.packages.${pkgs.system}.gensokyoZone;
|
||||
root = gensokyo-zone.inputs.website.packages.${pkgs.system}.gensokyoZone;
|
||||
};
|
||||
"/docs" = {
|
||||
root = pkgs.linkFarm "genso-docs-wwwroot" [
|
||||
{
|
||||
name = "docs";
|
||||
path = inputs.self.packages.${pkgs.system}.docs;
|
||||
path = gensokyo-zone.self.packages.${pkgs.system}.docs;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue