Pretix
services.pretix.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/pretix.nix
services.pretix.database.createLocally
Whether to automatically set up the database on the local DBMS instance.
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/pretix.nix
services.pretix.enable
Whether to enable Pretix, a ticket shop application for conferences, festivals, concerts, etc.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.environmentFile
Environment file to pass secret configuration values.
Each line must follow the PRETIX_SECTION_KEY=value
pattern.
Type: null or path
Default
null
Example
"/run/keys/pretix-secrets.env"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.group
Group under which pretix should run.
Type: string
Default
"pretix"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.gunicorn.extraArgs
Extra arguments to pass to gunicorn. See https://docs.pretix.eu/en/latest/admin/installation/manual_smallscale.html#start-pretix-as-a-service for details.
Type: list of string
Default
["--name=pretix"]
Example
["--name=pretix""--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/pretix.nix
services.pretix.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/pretix.nix
services.pretix.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/pretix.nix
services.pretix.package
The pretix package to use.
Type: package
Default
pkgs.pretix
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.plugins
Pretix plugins to install into the Python environment.
Type: list of package
Default
[ ]
Example
with config.services.pretix.package.plugins; [passbookpages];
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.settings
pretix configuration as a Nix attribute set. All settings can also be passed from the environment.
See https://docs.pretix.eu/en/latest/admin/config.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/pretix.nix
services.pretix.settings.celery.backend
URI to the celery backend used for the asynchronous job queue.
Type: string
Default
redis+socket://${config.services.redis.servers.pretix.unixSocket}?virtual_host=1
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.settings.celery.broker
URI to the celery broker used for the asynchronous job queue.
Type: string
Default
redis+socket://${config.services.redis.servers.pretix.unixSocket}?virtual_host=2
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.settings.database.backend
Database backend to use.
Only postgresql is recommended for production setups.
Type: one of "sqlite3", "postgresql"
Default
"postgresql"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.settings.database.host
Database host or socket path.
Type: null or path
Default
if config.services.pretix.settings..database.backend == "postgresql" then "/run/postgresql"else null
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.settings.database.name
Database name.
Type: string
Default
"pretix"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.settings.database.user
Database username.
Type: string
Default
"pretix"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.settings.mail.from
E-Mail address used in the FROM
header of outgoing mails.
Type: string
Example
"tickets@example.com"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.settings.mail.host
Hostname of the SMTP server use for mail delivery.
Type: string
Default
"localhost"
Example
"mail.example.com"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.settings.mail.port
Port of the SMTP server to use for mail delivery.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
25
Example
587
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.settings.memcached.location
The host:port
combination or the path to the UNIX socket of a memcached instance.
Can be used instead of Redis for caching.
Type: null or string
Default
null
Example
"127.0.0.1:11211"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.settings.pretix.cachedir
Directory for storing temporary files.
Type: path
Default
"/var/cache/pretix"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.settings.pretix.currency
Default currency for events in its ISO 4217 three-letter code.
Type: string
Default
"EUR"
Example
"USD"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.settings.pretix.datadir
Directory for storing user uploads and similar data.
Type: path
Default
"/var/lib/pretix"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.settings.pretix.instance_name
The name of this installation.
Type: string
Example
"tickets.example.com"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.settings.pretix.logdir
Directory for storing log files.
Type: path
Default
"/var/log/pretix"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.settings.pretix.registration
Whether to allow registration of new admin users.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.settings.pretix.url
The installation’s full URL, without a trailing slash.
Type: string
Example
"https://tickets.example.com"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.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.pretix.unixSocket}?db=0"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.settings.redis.sessions
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/pretix.nix
services.pretix.settings.tools.pdftk
Path to the pdftk executable.
Type: path
Default
lib.getExe pkgs.pdftk
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix
services.pretix.user
User under which pretix should run.
Type: string
Default
"pretix"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/pretix.nix