@@ -135,7 +135,7 @@ in {
135135 };
136136
137137 config = mkOption {
138− type = types.submodule {
138+ type = types.nullOr (types.submodule {
139139 freeformType = format.type;
140140 options = {
141141 # This is a partial selection of the most common options, so new users can quickly
@@ -244,7 +244,7 @@ in {
244244 };
245245 };
246246 };
247− };
247+ });
248248 example = literalExpression ''
249249 {
250250 homeassistant = {
@@ -349,10 +349,6 @@ in {
349349 '';
350350 description = ''
351351 The Home Assistant package to use.
352− Override <literal>extraPackages</literal> or <literal>extraComponents</literal> in order to add additional dependencies.
353− If you specify <option>config</option> and do not set <option>autoExtraComponents</option>
354− to <literal>false</literal>, overriding <literal>extraComponents</literal> will have no effect.
355− Avoid <literal>home-assistant.overridePythonAttrs</literal> if you use <literal>autoExtraComponents</literal>.
356352 '';
357353 };
358354