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.
- Type
null or (open submodule of (YAML 1.1 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" ]; }- Declared
- <nixpkgs/nixos/modules/services/home-automation/home-assistant.nix>