Flarum

Packages

flarum-1.8.1
Version: 1.8.1

Options

services.flarum.adminEmail

Email for first web application administrator

Type:
string
Default:
"admin@example.com"
services.flarum.adminUser

Username for first web application administrator

Type:
string
Default:
"flarum"
services.flarum.baseUrl

Change domain instead.

Type:
string
Default:
"http://localhost"
services.flarum.createDatabaseLocally

Create the database and database user locally, and run installation.

WARNING: Due to https://github.com/flarum/framework/issues/4018, this option is set to false by default. The 'flarum install' command may delete existing database tables. Only set this to true if you are certain you are working with a fresh, empty database.

Type:
boolean
Default:
false
services.flarum.database

MySQL database parameters

Type:
attribute set of (string or boolean or signed integer)
Default:
{ database = "flarum"; driver = "mysql"; host = "localhost"; password = ""; port = 3306; prefix = ""; strict = false; username = "flarum"; }
services.flarum.domain

Domain to serve on.

Type:
string
Default:
"localhost"
services.flarum.enable

Whether to enable Flarum discussion platform.

Type:
boolean
Default:
false
services.flarum.forumTitle

Title of the forum.

Type:
string
Default:
"A Flarum Forum on NixOS"
services.flarum.group

System group to run Flarum

Type:
string
Default:
"flarum"
services.flarum.initialAdminPassword

Initial password for the adminUser

Type:
string
Default:
"flarum"
services.flarum.package

The flarum package to use.

Type:
package
Default:
pkgs.flarum
services.flarum.stateDir

Home directory for writable storage

Type:
absolute path
Default:
"/var/lib/flarum"
services.flarum.user

System user to run Flarum

Type:
string
Default:
"flarum"