Pretalx
services.pretalx.celery.enable
Whether to set up celery as an asynchronous task runner.
Type: boolean
Default
true
Example
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretalx.nix
services.pretalx.celery.extraArgs
Extra arguments to pass to celery.
See https://docs.celeryq.dev/en/stable/reference/cli.html#celery-worker for more info.
Type: list of string
Default
[ ]
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretalx.nix
services.pretalx.database.createLocally
Whether to automatically set up the database on the local DBMS instance.
Currently only supported for PostgreSQL. Not required for sqlite.
Type: boolean
Default
true
Example
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretalx.nix
services.pretalx.enable
Whether to enable pretalx.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretalx.nix
services.pretalx.group
Group under which pretalx should run.
Type: string
Default
"pretalx"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretalx.nix
services.pretalx.gunicorn.extraArgs
Extra arguments to pass to gunicorn. See https://docs.pretalx.org/administrator/installation.html#step-6-starting-pretalx-as-a-service for details.
Type: list of string
Default
["--name=pretalx"]
Example
["--name=pretalx""--workers=4""--max-requests=1200""--max-requests-jitter=50""--log-level=info"]
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretalx.nix
services.pretalx.nginx.domain
The domain name under which to set up the virtual host.
Type: string
Example
"talks.example.com"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretalx.nix
services.pretalx.nginx.enable
Whether to set up an nginx virtual host.
Type: boolean
Default
true
Example
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretalx.nix
services.pretalx.package
The pretalx package to use.
Type: package
Default
pkgs.pretalx
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretalx.nix
services.pretalx.plugins
Pretalx plugins to install into the Python environment.
Type: list of package
Default
[ ]
Example
with config.services.pretalx.package.plugins; [pagesyoutube];
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretalx.nix
services.pretalx.settings
pretalx configuration as a Nix attribute set. All settings can also be passed from the environment.
See https://docs.pretalx.org/administrator/configure.html for possible options.
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/pretalx.nix
services.pretalx.settings.celery.backend
URI to the celery backend used for the asynchronous job queue.
Type: null or string
Default
optionalString config.services.pretalx.celery.enable "redis+socket://${config.services.redis.servers.pretalx.unixSocket}?virtual_host=1"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretalx.nix
services.pretalx.settings.celery.broker
URI to the celery broker used for the asynchronous job queue.
Type: null or string
Default
optionalString config.services.pretalx.celery.enable "redis+socket://${config.services.redis.servers.pretalx.unixSocket}?virtual_host=2"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretalx.nix
services.pretalx.settings.database.backend
Database backend to use.
Currently only PostgreSQL gets tested, and as such we don't support any other DBMS.
Type: value "postgresql" (singular enum)
Default
"postgresql"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretalx.nix
services.pretalx.settings.database.host
Database host or socket path.
Type: null or path
Default
if config.services.pretalx.settings..database.backend == "postgresql" then "/run/postgresql"else if config.services.pretalx.settings.database.backend == "mysql" then "/run/mysqld/mysqld.sock"else null
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretalx.nix
services.pretalx.settings.database.name
Database name.
Type: string
Default
"pretalx"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretalx.nix
services.pretalx.settings.database.user
Database username.
Type: string
Default
"pretalx"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretalx.nix
services.pretalx.settings.filesystem.data
Base path for all other storage paths.
Type: path
Default
"/var/lib/pretalx"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretalx.nix
services.pretalx.settings.filesystem.logs
Path to the log directory, that pretalx logs message to.
Type: path
Default
"/var/log/pretalx"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretalx.nix
services.pretalx.settings.filesystem.static
Path to the directory that contains static files.
Type: path
Default
${config.services.pretalx.package}.static}/
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretalx.nix
services.pretalx.settings.redis.location
URI to the redis server, used to speed up locking, caching and session storage.
Type: null or string
Default
"unix://${config.services.redis.servers.pretalx.unixSocket}?db=0"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretalx.nix
services.pretalx.settings.redis.session
Whether to use redis as the session storage.
Type: boolean
Default
true
Example
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretalx.nix
services.pretalx.settings.site.url
The base URI below which your pretalx instance will be reachable.
Type: string
Default
https://${config.services.pretalx.nginx.domain}
Example
"https://talks.example.com"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretalx.nix
services.pretalx.user
User under which pretalx should run.
Type: string
Default
"pretalx"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretalx.nix