feat(MOMO): add hedgedoc

This commit is contained in:
Jacob Bachmann 2025-10-12 17:16:12 +02:00
parent 9ff09c6ab2
commit 4d706beb5d
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
3 changed files with 35 additions and 3 deletions

View file

@ -0,0 +1,26 @@
{ config, ... }: {
services.hedgedoc = {
enable = true;
settings = {
port = 8009;
host = "127.0.0.1";
allowOrigin =
[ "localhost" "127.0.0.1" "hedgedoc.dryb.org" "md.dryb.org" ];
allowGravatar = true;
db = {
username = "hedgedoc";
database = "hedgedoc";
host = "postgresql:///hedgedoc";
dialect = "postgresql";
};
allowAnonymous = false;
allowAnonymousEdits = false;
allowFreeURL = true;
requireFreeURLAuthentication = true;
email = true;
allowEmailRegister = true;
};
};
}