nixos/home-assistant: update default package example

The given example is now closer to a sane default people will want to
start with. It also displays the existance of extraComponents, a feature
that will receive more usage with home-assistant warning about
components that have completely migrated away from YAML configuration.
This commit is contained in:
Martin Weinelt 2022-01-28 22:55:27 +01:00
parent 42c0909848
commit 5aabba490e
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -201,7 +201,14 @@ in {
type = types.package;
example = literalExpression ''
pkgs.home-assistant.override {
extraPackages = ps: with ps; [ colorlog ];
extraPackages = python3Packages: with python3Packages; [
psycopg2
];
extraComponents = [
"default_config"
"esphome"
"met"
];
}
'';
description = ''