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
+3 -5
View File
@@ -9,7 +9,6 @@ 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"
@@ -25,15 +24,14 @@ in
"smart_meter_texas" "smart_meter_texas"
"speedtestdotnet" "speedtestdotnet"
"solaredge" "solaredge"
"tplink"
"whisper" "whisper"
"wiz" "wiz"
"wyoming" "wyoming"
"zwave_js" "zwave_js"
]; ];
}).overrideAttrs (oldAttrs: { customComponents = with pkgs.home-assistant-custom-components; [
doInstallCheck = false; smartthinq-sensors
}); ];
config = { config = {
default_config = {}; default_config = {};