feat(MOMO): add hedgedoc
This commit is contained in:
parent
9ff09c6ab2
commit
4d706beb5d
3 changed files with 35 additions and 3 deletions
26
hosts/MOMO/services/hedgedoc.nix
Normal file
26
hosts/MOMO/services/hedgedoc.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue