mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 04:28:40 +03:00
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:
parent
42c0909848
commit
5aabba490e
@ -201,7 +201,14 @@ in {
|
|||||||
type = types.package;
|
type = types.package;
|
||||||
example = literalExpression ''
|
example = literalExpression ''
|
||||||
pkgs.home-assistant.override {
|
pkgs.home-assistant.override {
|
||||||
extraPackages = ps: with ps; [ colorlog ];
|
extraPackages = python3Packages: with python3Packages; [
|
||||||
|
psycopg2
|
||||||
|
];
|
||||||
|
extraComponents = [
|
||||||
|
"default_config"
|
||||||
|
"esphome"
|
||||||
|
"met"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
description = ''
|
description = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user