diff options
author | tv <tv@krebsco.de> | 2021-05-20 11:08:58 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2021-05-20 11:08:58 +0200 |
commit | 5460255668f43ad1486c6ce0261aebe06d64857a (patch) | |
tree | 75e4f4b71c5636bb405b9ddbb30fdbeeffb4eced /makefu/2configs/home/ham/signal-rest/hass.nix | |
parent | a5d9c02a937f577c0dc25b8e46142f9c9b1db534 (diff) | |
parent | da975042c505a2fa693677cbd10d8245c17b3570 (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'makefu/2configs/home/ham/signal-rest/hass.nix')
-rw-r--r-- | makefu/2configs/home/ham/signal-rest/hass.nix | 20 |
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 ]; + } + ]; +} |