From 2fa2b5ecbbebca571894480cd22d52b78c8f942e Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Wed, 5 Jan 2022 20:59:15 +0100 Subject: [PATCH] Add matrix notifications to fluffy HA --- nixos/roles/home-assistant-local/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nixos/roles/home-assistant-local/default.nix b/nixos/roles/home-assistant-local/default.nix index eff101a5..2069619e 100644 --- a/nixos/roles/home-assistant-local/default.nix +++ b/nixos/roles/home-assistant-local/default.nix @@ -79,6 +79,12 @@ in ); configDir = homeAssistantDir; config = { + matrix = { + homeserver = "https://matrix.maralorn.de"; + username = "@marabot:maralorn.de"; + password = pkgs.privateValue "" "matrix/marabot-pw"; + }; + notify = [{ platform = "matrix"; default_room = "#fluffy:maralorn.de"; }]; group = { wohnzimmer_lights = { name = "Lichter Wohnzimmer";