MyNixOS website logo
option

services.pufferpanel.environment

Environment variables to set for the service. Secrets should be specified using environmentFile.

Refer to the PufferPanel source code for the list of available configuration options. Variable name is an upper-cased configuration entry name with underscores instead of dots, prefixed with PUFFER_. For example, panel.settings.companyName entry can be set using PUFFER_PANEL_SETTINGS_COMPANYNAME.

When running with panel enabled (configured with PUFFER_PANEL_ENABLE environment variable), it is recommended disable registration using PUFFER_PANEL_REGISTRATIONENABLED environment variable (registration is enabled by default). To create the initial administrator user, run pufferpanel --workDir /var/lib/pufferpanel user add --admin.

Some options override corresponding settings set via web interface (e.g. PUFFER_PANEL_REGISTRATIONENABLED). Those options can be temporarily toggled or set in settings but do not persist between restarts.

Declarations
Type
attribute set of string
Default
{ }
Example
{
  PUFFER_WEB_HOST = ":8080";
  PUFFER_DAEMON_SFTP_HOST = ":5657";
  PUFFER_DAEMON_CONSOLE_BUFFER = "1000";
  PUFFER_DAEMON_CONSOLE_FORWARD = "true";
  PUFFER_PANEL_REGISTRATIONENABLED = "false";
}