hyperhive website: add docs, new hyperhive options namespace
This commit is contained in:
parent
52e9708552
commit
7263e899b1
3 changed files with 33 additions and 79 deletions
|
|
@ -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}/";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue