summaryrefslogtreecommitdiff
path: root/hosts/experimental-nixos/services/mollysocket.nix
blob: 435fa241d15915498a99e1472a3ffbc799d28aaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ config, ...}: {

  secrets.molly = {
    file = ./secrets/molly-env.age;
    mode = "444";
  };
  
  services.mollysocket.enable = true;
  services.mollysocket = {
    settings = {
      allowed_endpoints = [ "https://ntfy.m4siri.com" ];
      host = "127.0.0.1";
      port = 8091;
      vapid_key_file = config.secrets.molly.path;
      allowed_uuids = [ "aaf05a34-1da0-4e15-a46d-3f871d6c3ea2" ];
    };
  };
}