massive restructuring

This commit is contained in:
cy 2024-12-15 02:44:50 -05:00
parent c1b64baea7
commit d4c962fee7
18 changed files with 242 additions and 219 deletions

18
hosts/chunk/hedgedoc.nix Normal file
View file

@ -0,0 +1,18 @@
{...}: {
services.hedgedoc = {
enable = true;
environmentFile = "/run/secrets/hedgedoc";
settings = {
db = {
username = "hedgedoc";
database = "hedgedoc";
host = "/run/postgresql";
dialect = "postgresql";
};
port = 8085;
domain = "pad.cything.io";
allowEmailRegister = false;
protocolUseSSL = true;
};
};
}