From fb22fee4c075882282fd49ad7105088683c7381e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 14 Jun 2023 08:22:28 +0200 Subject: nixos/home-assistant: fix minor warning --- nixos/machine/errol.nix | 3 +-- nixos/modules/home-assistant.nix | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/nixos/machine/errol.nix b/nixos/machine/errol.nix index 1a586a1..de23bc3 100644 --- a/nixos/machine/errol.nix +++ b/nixos/machine/errol.nix @@ -80,11 +80,10 @@ with lib; { sensor = import ../modules/home-assistant/sensors.nix; light = import ../modules/home-assistant/light.nix; }; - met = {}; default_config = {}; automation = "!include automations.yaml"; }; - extraComponents = []; + extraComponents = ["met"]; package = pkgs.home-assistant.override { extraPackages = pkgs: with pkgs; [ diff --git a/nixos/modules/home-assistant.nix b/nixos/modules/home-assistant.nix index b22a285..efe5b84 100644 --- a/nixos/modules/home-assistant.nix +++ b/nixos/modules/home-assistant.nix @@ -139,11 +139,10 @@ in { sensor = import ./home-assistant/sensors.nix; light = import ./home-assistant/light.nix; }; - met = {}; default_config = {}; automation = "!include automations.yaml"; }; - extraComponents = []; + extraComponents = ["met"]; package = pkgs.home-assistant.override { extraPackages = pkgs: with pkgs; [ -- cgit v1.2.3