Home Assistant: Difference between revisions

imported>Mweinelt
imported>Mweinelt
Line 44: Line 44:
== NixOS Module ==
== NixOS Module ==


You could run home-assistant using the NixOS module system at <code>services-home-assistant</code>. As of 2021-11-28 we have roughly 70% of component dependencies packaged. There are two major ways of running home-assistant using the module system.
You could run home-assistant using the NixOS module system at <code>services-home-assistant</code>. As of 2022-08-04 (2022.8.1) we have support for roughly 85.6% (885/1033) of components, which requires around 711 python dependencies.
 
Right now there are two major ways of running home-assistant using the module system:
 
* a) Using a fully declarative configuration
* b) Using a custom configuration, supplied by verbatim home-assistant configuration files
 
Using a custom configuration has the drawback, that we cannot automatically recognize and install component dependencies and it is not clear that we will continue to support these kinds of setups going forward. If you are using such a setup, please speak up in the Home-Automation room on Matrix (<code><nowiki>#home-automation:nixos.org</nowiki></code>).


=== Declarative configuration ===
=== Declarative configuration ===