Merge pull request #161351: nixos/home-assistant: module updates

This commit is contained in:
piegames 2022-02-22 22:47:14 +01:00 committed by GitHub
commit af01434597
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,7 +135,7 @@ in {
};
config = mkOption {
type = types.submodule {
type = types.nullOr (types.submodule {
freeformType = format.type;
options = {
# This is a partial selection of the most common options, so new users can quickly
@ -244,7 +244,7 @@ in {
};
};
};
};
});
example = literalExpression ''
{
homeassistant = {
@ -349,10 +349,6 @@ in {
'';
description = ''
The Home Assistant package to use.
Override <literal>extraPackages</literal> or <literal>extraComponents</literal> in order to add additional dependencies.
If you specify <option>config</option> and do not set <option>autoExtraComponents</option>
to <literal>false</literal>, overriding <literal>extraComponents</literal> will have no effect.
Avoid <literal>home-assistant.overridePythonAttrs</literal> if you use <literal>autoExtraComponents</literal>.
'';
};