diff options
Diffstat (limited to '')
-rw-r--r-- | flora/configuration.nix | 2 | ||||
-rw-r--r-- | flora/services/ntfy.nix | 12 |
2 files changed, 14 insertions, 0 deletions
diff --git a/flora/configuration.nix b/flora/configuration.nix index 40cd3a5..d124f99 100644 --- a/flora/configuration.nix +++ b/flora/configuration.nix @@ -13,6 +13,8 @@ ./services/ntfy.nix ./services/murmur.nix ./services/monit.nix + + ../modules/mollysocket.nix ]; # Use the GRUB 2 boot loader. 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; |