diff options
author | stuebinm | 2024-03-04 18:55:18 +0100 |
---|---|---|
committer | stuebinm | 2024-03-04 18:55:18 +0100 |
commit | 0b7bf6205fa36e48c597bce55a65820d81cbeaec (patch) | |
tree | 9c69d31848a86dd595292c7620b379fdb82d0e36 /flora/services | |
parent | 303aacafdb293aaed7cfdb0e434f10d77bfb203a (diff) |
init mollysocket package, module, and deploy it on flora
with thanks to networkException, who wrote the initial nix package.
Diffstat (limited to '')
-rw-r--r-- | flora/services/ntfy.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/flora/services/ntfy.nix b/flora/services/ntfy.nix index 45dcb3c..e00971f 100644 --- a/flora/services/ntfy.nix +++ b/flora/services/ntfy.nix @@ -21,6 +21,18 @@ }; }; + services.mollysocket = { + enable = true; + settings = { + allowed_endpoints = [ "https://ping.stuebinm.eu" ]; + port = 8020; + host = "::"; + }; + environmentFile = "/run/secrets/mollysocket/config.toml"; + }; + + sops.secrets."mollysocket/config.toml" = {}; + services.nginx.virtualHosts."ping.stuebinm.eu" = { enableACME = true; forceSSL = true; |