Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config/pulls/168 Reviewed-by: Inex Code <inex.code@selfprivacy.org> Co-authored-by: Thary <thary@riseup.net> Co-committed-by: Thary <thary@riseup.net>
40 lines
1.1 KiB
Nix
40 lines
1.1 KiB
Nix
{
|
|
description = "HedgeDoc module";
|
|
|
|
outputs = { ... }:
|
|
{
|
|
nixosModules.default = import ./module.nix;
|
|
configPathsNeeded = builtins.fromJSON (builtins.readFile ./config-paths-needed.json);
|
|
meta =
|
|
{ lib, ... }:
|
|
{
|
|
spModuleSchemaVersion = 1;
|
|
id = "hedgedoc";
|
|
name = "HedgeDoc";
|
|
description = "HedgeDoc is an open-source, web-based, self-hosted, collaborative markdown editor.";
|
|
svgIcon = builtins.readFile ./icon.svg;
|
|
isMovable = true;
|
|
isRequired = false;
|
|
backupDescription = "Notes and attachments.";
|
|
systemdServices = [
|
|
"hedgedoc.service"
|
|
];
|
|
folders = [
|
|
"/var/lib/hedgedoc"
|
|
];
|
|
postgreDatabases = [
|
|
"hedgedoc"
|
|
];
|
|
license = [
|
|
lib.licenses.agpl3Only
|
|
];
|
|
homepage = "https://hedgedoc.org";
|
|
sourcePage = "https://github.com/hedgedoc/hedgedoc";
|
|
supportLevel = "normal";
|
|
sso = {
|
|
userGroup = "sp.hedgedoc.users";
|
|
};
|
|
};
|
|
};
|
|
}
|