summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/home/ham/signal-rest/hass.nix
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs/home/ham/signal-rest/hass.nix')
-rw-r--r--makefu/2configs/home/ham/signal-rest/hass.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/makefu/2configs/home/ham/signal-rest/hass.nix b/makefu/2configs/home/ham/signal-rest/hass.nix
new file mode 100644
index 000000000..284be3320
--- /dev/null
+++ b/makefu/2configs/home/ham/signal-rest/hass.nix
@@ -0,0 +1,20 @@
+let
+ inherit (import <secrets/signal/messenger.nix>) number home felix;
+in {
+ services.home-assistant.config.notify = [
+ {
+ name = "signal_home";
+ platform = "signal_messenger";
+ url = "http://127.0.0.1:8631";
+ inherit number ;
+ recipients = [ home ];
+ }
+ {
+ name = "signal_felix";
+ platform = "signal_messenger";
+ url = "http://127.0.0.1:8631";
+ inherit number;
+ recipients = [ felix ];
+ }
+ ];
+}