2023-02-26 06:11:55 +01:00
|
|
|
{ config, pkgs, lib, ... }:
|
2023-02-26 03:53:55 +01:00
|
|
|
let
|
|
|
|
yagcd = pkgs.fetchzip {
|
|
|
|
url = "http://hitmen.c02.at/files/yagcd/yagcd.tar.gz";
|
|
|
|
hash = "sha256-6/0oh7Xvbq1eAk2fCtKU+IXm0FbmgXIwAUjXuUKicus=";
|
|
|
|
stripRoot = false;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
services.docs-to-host.docs = [{
|
2023-02-26 06:11:55 +01:00
|
|
|
desc = "Yet another Gamecube Documentation";
|
|
|
|
dirname = "yagcd";
|
|
|
|
path = "${yagcd}/yagcd";
|
2023-02-26 03:53:55 +01:00
|
|
|
}];
|
|
|
|
|
|
|
|
/** /
|
|
|
|
services.nginx.virtualHosts.${mkDomain "yagcd"} = {
|
|
|
|
forceSSL = true; # addSSL = true;
|
|
|
|
enableACME = true; #useACMEHost = acmeDomain;
|
|
|
|
root = yagcd;
|
|
|
|
};
|
|
|
|
/**/
|
|
|
|
}
|