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