nixos-config/hosts/chunk/hedgedoc.nix

19 lines
395 B
Nix
Raw Normal View History

2024-12-15 02:44:50 -05:00
{...}: {
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;
};
};
}