module/hedgedoc: make as module

This commit is contained in:
Felix Buehler 2022-10-15 16:40:38 +02:00
parent de21c8401d
commit ecfe844e5f
2 changed files with 69 additions and 22 deletions

View file

@ -1,22 +0,0 @@
{ config, pkgs, ... }:
{
services.hedgedoc = {
enable = true;
configuration = {
domain = "notes.buehler.rocks";
protocolUseSSL = true;
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";
};
};
}