diff --git a/cluster/services/websites/default.nix b/cluster/services/websites/default.nix index 501ec9c..25fd33d 100644 --- a/cluster/services/websites/default.nix +++ b/cluster/services/websites/default.nix @@ -21,7 +21,7 @@ in importWebsites = expr: import expr { tools = depot.lib.nginx; - inherit (depot) packages; + inherit (depot) inputs packages; }; websites = depot.lib.nginx.mappers.mapSubdomains (importWebsites ./websites.nix); @@ -54,7 +54,7 @@ in dns.records = let oldStaticAddr = [ depot.hours.VEGAS.interfaces.primary.addrPublic ]; in lib.mkMerge [ - (lib.genAttrs [ "www" "draw" "stop-using-nix-env" "whoami" ] (lib.const { + (lib.genAttrs [ "www" "draw" "stop-using-nix-env" "whoami" "docs.hyprspace" ] (lib.const { consulService = "static-lb"; })) { diff --git a/cluster/services/websites/websites.nix b/cluster/services/websites/websites.nix index 10ce19c..fb33538 100644 --- a/cluster/services/websites/websites.nix +++ b/cluster/services/websites/websites.nix @@ -1,10 +1,11 @@ -{ packages, tools }: +{ inputs, packages, tools }: with tools.vhosts; let inherit (tools) domain; in { # websites www = static packages.landing.webroot // { default = true; }; draw = static packages.excalidraw.webroot; + "docs.hyprspace" = static "${inputs.hyprspace.packages.docs}/share/www/hyprspace-docs"; # PSA sites stop-using-nix-env = static packages.stop-using-nix-env.webroot;