Initial commit

This commit is contained in:
2025-11-07 15:16:45 +03:00
commit 6bf1d003fe
4 changed files with 227 additions and 0 deletions

36
flake.nix Normal file
View File

@@ -0,0 +1,36 @@
{
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";
};
};
};
}