services.freescout.settings

NixOS option

Settings to be set in the .env file. See https://github.com/freescout-help-desk/freescout/blob/master/.env.example for reference on available environment variables. Will be merged with the shown defaults.

type: attribute set of anything
Default
{
  APP_ENV = "production";
  APP_FORCE_HTTPS = true;
  APP_URL = "https://${config.services.freescout.domain}";
  APP_TIMEZONE = config.time.timeZone;
  APP_DISABLE_UPDATING = true;
}
Example
{
  # NOTE: MUST be 256 bits (32 bytes) in length, the form of base64:<base64 encoded key> is recommended.
  # You can generate a valid one using `echo "base64:$(openssl rand -base64 32)"`
  APP_KEY_FILE = "/run/secret/freescout/app_key";
  DB_CONNECTION = "mysql";
  DB_HOST = "localhost";
  DB_PORT = 3306;
  DB_DATABASE = "freescout";
  DB_USERNAME = "freescout";
  DB_PASSWORD._secret = "/run/secret/freescout/db_pass";
}
declared in: nixos/modules/services/web-apps/freescout.nixView source on NixOS/nixpkgs →