hedgedoc: init

This commit is contained in:
Felix Buehler 2022-07-18 22:34:27 +02:00
parent f65e0eccdf
commit d78a20ee77

View file

@ -0,0 +1,23 @@
{ config, pkgs, ... }:
{
services.hedgedoc = {
enable = true;
configuration = {
domain = "notes.buehler.rocks";
protocolUseSSL = true;
urlAddPort = false;
db = {
dialect = "sqlite";
storage = "/var/lib/hedgedoc/db.hedgedoc.sqlite";
};
};
};
webapps.apps.hedgedoc = {
dashboard = {
name = "Hedgedoc";
category = "app";
icon = "edit";
link = "https://notes.buehler.rocks";
};
};
}