services.goss.environment

NixOS option

Environment variables to set for the goss service. See https://github.com/goss-org/goss/blob/master/docs/manual.md

type: attribute set of string
Default
{ }
Example
{
  GOSS_FMT = "json";
  GOSS_LISTEN = ":8080";
  GOSS_LOGLEVEL = "FATAL";
}
declared in: nixos/modules/services/monitoring/goss.nixView source on NixOS/nixpkgs →