mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
hedgedoc: init
This commit is contained in:
parent
f65e0eccdf
commit
d78a20ee77
1 changed files with 23 additions and 0 deletions
23
nixos/modules/webapps/hedgedoc.nix
Normal file
23
nixos/modules/webapps/hedgedoc.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue