hyperhive website: add docs, new hyperhive options namespace

This commit is contained in:
müde 2026-05-30 11:30:31 +02:00
commit 7263e899b1
3 changed files with 33 additions and 79 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, hyperhive-website, ... }:
{ pkgs, hyperhive, hyperhive-website, ... }:
let
blog-domain-socket = "/run/nginx/blog.sock";
anubis-domain-socket = "/run/anubis/anubis-main/anubis.sock";
@ -46,6 +46,8 @@ in
forceSSL = true;
enableACME = true;
root = hyperhive-website.packages.${pkgs.stdenv.hostPlatform.system}.default;
locations."/options/".alias =
"${hyperhive.packages.${pkgs.stdenv.hostPlatform.system}.docs}/";
};
};
};

View file

@ -1,9 +1,8 @@
{ hyperhive, ... }:
{
imports = [
hyperhive.nixosModules.hive-c0re
hyperhive.nixosModules.hive-forge
];
imports = [ hyperhive.nixosModules.default ];
config.services.hive-c0re.enable = true;
config.services.hyperhive = {
enable = true;
};
}