MyNixOS website logo
option

services.home-assistant.config

Your configuration.yaml as a Nix attribute set.

YAML functions like secrets can be passed as a string and will be unquoted automatically.

Unless this option is explicitly set to null we assume your configuration.yaml is managed through this module and thereby overwritten on startup.

Declarations
Type
null or (YAML value)
Example
{
  homeassistant = {
    name = "Home";
    latitude = "!secret latitude";
    longitude = "!secret longitude";
    elevation = "!secret elevation";
    unit_system = "metric";
    time_zone = "UTC";
  };
  frontend = {
    themes = "!include_dir_merge_named themes";
  };
  http = {};
  feedreader.urls = [ "https://nixos.org/blogs.xml" ];
}