summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/home/ham/signal-rest/hass.nix
blob: 284be33201910294bc0830a5dc63dd9e3fa1768b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 ];
    }
  ];
}