MyNixOS website logo
option

services.healthchecks.settings

Environment variables which are read by healthchecks (local)_settings.py.

Settings which are explicitly covered in options below, are type-checked and/or transformed before added to the environment, everything else is passed as a string.

See https://healthchecks.io/docs/self_hosted_configuration/ for a full documentation of settings.

We add additional variables to this list inside the packages local_settings.py.

  • STATIC_ROOT to set a state directory for dynamically generated static files.
  • SECRET_KEY_FILE to read SECRET_KEY from a file at runtime and keep it out of /nix/store.
  • _FILE variants for several values that hold sensitive information in Healthchecks configuration so that they also can be read from a file and kept out of /nix/store. To see which values have support for a _FILE variant, run:
    • nix-instantiate --eval --expr '(import <nixpkgs> {}).healthchecks.secrets'
    • or nix eval 'nixpkgs#healthchecks.secrets' if the flake support has been enabled.

If the same variable is set in both settings and settingsFile the value from settingsFile has priority.

Declarations
Type
attribute set of string