services.writefreely.enable

Whether to enable writefreely.

type

unspecified

default

{
  services.writefreely.enable = false;
}

services.writefreely.config

Set options in the writefreely ini file. You must set the following options: app.host app.site_description app.site_name server.port All other values will use defaults set in the module.

type

unspecified

default

{
  services.writefreely.config = {};
}

services.writefreely.configFile

Path to the writefreely ini file. Overrides the config option. You need to provide a fully working configuration file and setup all paths yourself. You MUST set templates_parent_dir, static_parent_dir and pages_parent_dir in the [server] section or writefreely will probably fail.

type

unspecified

default

{
  services.writefreely.configFile = null;
}

services.writefreely.dataPath

Writefreely working directory. Important if you use relative paths in your config.

type

unspecified

default

{
  services.writefreely.dataPath = "/var/lib/writefreely";
}

services.writefreely.defaultUserPass

Add an inital user. Format: USER:PASSWORD

type

unspecified

default

{
  services.writefreely.defaultUserPass = null;
}

services.writefreely.group

The group to run writefreely as (default same as user)

type

unspecified

default

{
  services.writefreely.group = "writefreely";
}

services.writefreely.user

The user to run writefreely as

type

unspecified

default

{
  services.writefreely.user = "writefreely";
}