From 6095e030edae987b7d8abbb13358460f1d04ecac Mon Sep 17 00:00:00 2001 From: blake Date: Fri, 10 Oct 2025 00:48:30 -0500 Subject: [PATCH] 200 current 2025-10-10 00:25:07 25.05.20251006.20c4598 6.12.50 * --- .../smarthome/homeassistant/default.nix | 36 ++++++++++--------- 1 file changed, 19 insertions(+), 17 deletions(-) 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";