Add LG SmartThinQ, and standardize module

Stop overriding the home-assistant package directly, myself, and instead
move to using the standard ways of specifying extra options that the
module exposes to us.
This commit is contained in:
Greg Hellings
2024-09-17 15:54:53 -05:00
parent 51237a1ba3
commit e412cb12cd
+23 -25
View File
@@ -9,31 +9,29 @@ in
services.home-assistant = {
enable = true;
configDir = "/var/lib/hass";
package = (pkgs.home-assistant.override {
extraComponents = [
"accuweather"
"calendar"
"cast"
"eufy"
"lovelace"
"nextcloud"
"ping"
"piper"
"radio_browser"
"rainbird"
"roborock"
"smart_meter_texas"
"speedtestdotnet"
"solaredge"
"tplink"
"whisper"
"wiz"
"wyoming"
"zwave_js"
];
}).overrideAttrs (oldAttrs: {
doInstallCheck = false;
});
extraComponents = [
"accuweather"
"calendar"
"cast"
"eufy"
"lovelace"
"nextcloud"
"ping"
"piper"
"radio_browser"
"rainbird"
"roborock"
"smart_meter_texas"
"speedtestdotnet"
"solaredge"
"whisper"
"wiz"
"wyoming"
"zwave_js"
];
customComponents = with pkgs.home-assistant-custom-components; [
smartthinq-sensors
];
config = {
default_config = {};