Files
wf-module/flake.nix
2025-11-18 23:01:47 +03:00

37 lines
1.2 KiB
Nix

{
description = "WriteFreely 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. Notice that the first signed in user will become the only admin automatically, and there is no possibility to change this.";
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 = "experimental";
sso = {
userGroup = "sp.writefreely.users";
};
};
};
}