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 = { services.home-assistant = {
enable = true; enable = true;
configDir = "/var/lib/hass"; configDir = "/var/lib/hass";
package = (pkgs.home-assistant.override { extraComponents = [
extraComponents = [ "accuweather"
"accuweather" "calendar"
"calendar" "cast"
"cast" "eufy"
"eufy" "lovelace"
"lovelace" "nextcloud"
"nextcloud" "ping"
"ping" "piper"
"piper" "radio_browser"
"radio_browser" "rainbird"
"rainbird" "roborock"
"roborock" "smart_meter_texas"
"smart_meter_texas" "speedtestdotnet"
"speedtestdotnet" "solaredge"
"solaredge" "whisper"
"tplink" "wiz"
"whisper" "wyoming"
"wiz" "zwave_js"
"wyoming" ];
"zwave_js" customComponents = with pkgs.home-assistant-custom-components; [
]; smartthinq-sensors
}).overrideAttrs (oldAttrs: { ];
doInstallCheck = false;
});
config = { config = {
default_config = {}; default_config = {};