add service information to mine.shared.meta

This commit is contained in:
eyjhb 2024-08-13 14:42:32 +02:00
parent 74ff08576a
commit 280ad7013d
Signed by: eyjhb
GPG key ID: 609F508E3239F920
5 changed files with 81 additions and 0 deletions

View file

@ -47,4 +47,19 @@ in {
enableACME = true;
locations."/".proxyPass = "http://localhost:${builtins.toString config.services.hedgedoc.settings.port}";
};
mine.shared.meta.hedgedoc = {
name = "Hedgedoc";
description = "We host our own Hedgedoc for writing small documents, and sharing with others. Login using your credentials.";
url = "https://${svc_domain}";
package = let
pkg = config.services.hedgedoc.package;
in {
name = pkg.pname;
version = pkg.version;
meta = pkg.meta;
};
};
}