Initial commit
This commit is contained in:
36
flake.nix
Normal file
36
flake.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user