services.esphome.environment

NixOS option

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

type: attribute set of string
Default
{ }
Example
{
  PASSWORD = "gensokyo9";
  USERNAME = "reimu";
}
declared in: nixos/modules/services/home-automation/esphome.nixView source on NixOS/nixpkgs →