diff --git a/modules/homelab/services/smarthome/homeassistant/default.nix b/modules/homelab/services/smarthome/homeassistant/default.nix index ff30d12..eb104c9 100644 --- a/modules/homelab/services/smarthome/homeassistant/default.nix +++ b/modules/homelab/services/smarthome/homeassistant/default.nix @@ -58,26 +58,28 @@ in services.${service} = { enable = true; package = inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.home-assistant; - extraPackages = python3Packages: with python3Packages; [ - bleak - pyserial + extraComponents = [ + # required for onboarding + "analytics" + "google_translate" + "met" + "radio_browser" + "shopping_list" + # zlib + "isal" ]; - configDir = cfg.data_dir; - config = null; -# openFirewall = true; - # if config is set in here, configuration.yaml will be overwritten every startup with this -# configWritable = true; -# config = { -# http.server_port = cfg.port; -# homeassistant = { -# name = "snowbelle"; -# time_zone = cfg.tz; -# unit_system = "us_customary"; -# temperature_unit = "F"; -# }; -# }; + # imperative config +# config = null; +# lovelaceConfig = null; +# configDir = cfg.data_dir; + # declartive poggers! + config = { + # Includes dependencies for a basic setup + default_config = {}; + }; }; + # override umask to make permissions work out systemd.services.${service}.serviceConfig = { UMask = lib.mkForce "0007";