Files
wf-module/flake.nix
2025-11-07 15:16:45 +03:00

37 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 = "writefreely";
name = "WriteFreely";
description = "An open source platform for building a writing space on the web.";
svgIcon = builtins.readFile ./icon.svg;
isMovable = true;
isRequired = false;
backupDescription = "Your articles and attachments.";
systemdServices = [
"writefreely.service"
];
folders = [
"/var/lib/writefreely"
];
license = [
lib.licenses.agpl3Only
];
homepage = "https://writefreely.org";
sourcePage = "https://github.com/writefreely/writefreely";
supportLevel = "normal";
sso = {
userGroup = "sp.writefreely.users";
};
};
};
}