snowflake/hosts/sakura/services/hedgedoc.nix

18 lines
368 B
Nix
Raw Normal View History

2023-06-13 15:17:23 -04:00
_: {
services.hedgedoc = {
enable = true;
settings = {
port = 3300;
domain = "scratch.notohh.dev";
allowOrigin = ["scratch.notohh.dev"];
allowAnonymous = true;
allowFreeURL = true;
allowEmailRegister = false;
db = {
dialect = "sqlite";
storage = "/var/lib/hedgedoc/db.sqlite";
};
};
};
}