From ef25d69c4d273765afd2ef86783e42bc98ca4b3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 30 Dec 2022 21:13:56 +0100 Subject: nixos: move home assistant around --- nixos/machine/errol.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'nixos/machine/errol.nix') diff --git a/nixos/machine/errol.nix b/nixos/machine/errol.nix index 835999a..70bc8cf 100644 --- a/nixos/machine/errol.nix +++ b/nixos/machine/errol.nix @@ -79,13 +79,18 @@ with lib; port = 1883; username = "homeassistant"; password = "!secret mqtt_password"; - sensor = import ./hass/sensors.nix; - light = import ./hass/light.nix; + sensor = import ../modules/home-assistant/sensors.nix; + light = import ../modules/home-assistant/light.nix; }; met = {}; default_config = {}; }; extraComponents = []; + package = pkgs.home-assistant.override { + extraPackages = pkgs: with pkgs; [ + securetar + ]; + }; }; }; -- cgit v1.2.3