services.esphome.environment

NixOS option

attribute set of string

Extra environment variables to pass to ESPHome. Secrets should be passed using the services.esphome.environmentFile option.

type: attribute set of string
Default
{ }
Example
{
  ESPHOME_TRUSTED_DOMAINS = "dashboard.example.com";
}
declared in: nixos/modules/services/home-automation/esphome.nixView source on NixOS/nixpkgs →