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 stringDefault
{ }Example
declared in: nixos/modules/services/monitoring/goss.nixView source on NixOS/nixpkgs →{
GOSS_FMT = "json";
GOSS_LISTEN = ":8080";
GOSS_LOGLEVEL = "FATAL";
}