1
0
mirror of https://github.com/kmein/niveum synced 2026-03-30 01:01:10 +02:00

fix: codimd -> hedgedoc

This commit is contained in:
2021-01-15 10:05:12 +01:00
parent 859e536159
commit 901cf6f711
2 changed files with 2 additions and 2 deletions

25
configs/hedgedoc.nix Normal file
View File

@@ -0,0 +1,25 @@
{
services.nginx.virtualHosts."pad.xn--kiern-0qa.de" = {
enableACME = true;
addSSL = true;
locations."/".extraConfig = ''
client_max_body_size 4G;
proxy_set_header Host $host;
proxy_pass http://localhost:3091;
'';
};
services.hedgedoc = {
enable = true;
configuration = {
allowAnonymous = false;
allowGravatar = false;
db = {
dialect = "sqlite";
storage = "/var/lib/codimd/db.codimd.sqlite";
useCDN = false;
};
port = 3091;
};
};
}