refactor: stop using inputs.self

This commit is contained in:
arcnmx 2024-05-21 14:28:34 -07:00
parent 213430704f
commit 8601560f7d
27 changed files with 111 additions and 130 deletions

View file

@ -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;
}
];
};