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 stringDefault
{ }Example
declared in: nixos/modules/services/home-automation/esphome.nixView source on NixOS/nixpkgs →{
ESPHOME_TRUSTED_DOMAINS = "dashboard.example.com";
}