Skip to content

Flarum

services.flarum.adminEmail

Email for first web application administrator Type: string

Default

"admin@example.com"

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

services.flarum.adminUser

Username for first web application administrator Type: string

Default

"flarum"

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

services.flarum.baseUrl

Change domain instead. Type: string

Default

"http://localhost"

Example

"https://forum.example.com"

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

services.flarum.createDatabaseLocally

Create the database and database user locally, and run installation. Type: boolean

Default

true

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

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";}

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

services.flarum.domain

Domain to serve on. Type: string

Default

"localhost"

Example

"forum.example.com"

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

services.flarum.enable

Whether to enable Flarum discussion platform. Type: boolean

Default

false

Example

true

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

services.flarum.forumTitle

Title of the forum. Type: string

Default

"A Flarum Forum on NixOS"

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

services.flarum.group

System group to run Flarum Type: string

Default

"flarum"

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

services.flarum.initialAdminPassword

Initial password for the adminUser Type: string

Default

"flarum"

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

services.flarum.package

The flarum package to use. Type: package

Default

pkgs.flarum

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

services.flarum.stateDir

Home directory for writable storage Type: path

Default

"/var/lib/flarum"

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

services.flarum.user

System user to run Flarum Type: string

Default

"flarum"

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