Skip to content

Writefreely

services.writefreely.acme.enable

Whether or not to automatically fetch and configure SSL certs. Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/writefreely.nix

services.writefreely.admin.initialPasswordFile

Path to a file containing the initial password for the admin user. If not provided, the default password will be set to nixos.

Type: path

Default

"/nix/store/xxx-default-admin-pass"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/writefreely.nix

services.writefreely.admin.name

The name of the first admin user. Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/writefreely.nix

services.writefreely.database.createLocally

When {option}services.writefreely.database.type is set to "mysql", this option will enable the MySQL service locally.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/writefreely.nix

services.writefreely.database.host

The database host to connect to. Type: string

Default

"localhost"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/writefreely.nix

services.writefreely.database.migrate

Whether or not to automatically run migrations on startup. Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/writefreely.nix

services.writefreely.database.name

The name of the database to store data in. Type: string

Default

"writefreely"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/writefreely.nix

services.writefreely.database.passwordFile

The file to load the database password from. Type: null or path

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/writefreely.nix

services.writefreely.database.port

The port used when connecting to the database host. Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

3306

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/writefreely.nix

services.writefreely.database.tls

Whether or not TLS should be used for the database connection. Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/writefreely.nix

services.writefreely.database.type

The database provider to use. Type: one of "sqlite3", "mysql"

Default

"sqlite3"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/writefreely.nix

services.writefreely.database.user

The database user to connect as. Type: null or string

Default

"writefreely"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/writefreely.nix

services.writefreely.enable

Whether to enable Writefreely, build a digital writing community. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/writefreely.nix

services.writefreely.group

Group under which Writefreely is ran. Type: string

Default

"writefreely"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/writefreely.nix

services.writefreely.host

The public host name to serve. Type: string

Default

""

Example

"example.com"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/writefreely.nix

services.writefreely.nginx.enable

Whether or not to enable and configure nginx as a proxy for WriteFreely. Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/writefreely.nix

services.writefreely.nginx.forceSSL

Whether or not to force the use of SSL. Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/writefreely.nix

services.writefreely.package

Writefreely package to use. Type: package

Default

pkgs.writefreely

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/writefreely.nix

services.writefreely.settings

Writefreely configuration ({file}config.ini). Refer to https://writefreely.org/docs/latest/admin/config for details.

Type: attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))

Default

{ }

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/writefreely.nix

services.writefreely.settings.app.theme

The theme to apply. Type: string

Default

"write"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/writefreely.nix

services.writefreely.settings.server.port

The port WriteFreely should listen on. Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

"80"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/writefreely.nix

services.writefreely.stateDir

The state directory where keys and data are stored. Type: path

Default

"/var/lib/writefreely"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/writefreely.nix

services.writefreely.user

User under which Writefreely is ran. Type: string

Default

"writefreely"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/writefreely.nix