add service information to mine.shared.meta
This commit is contained in:
parent
74ff08576a
commit
280ad7013d
5 changed files with 81 additions and 0 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue