nixos/services/ntfy-sh.nix

18 lines
379 B
Nix
Raw Normal View History

{ ... }:
{
imports = [ ./caddy.nix ];
services.ntfy-sh = {
enable = true;
settings = {
base-url = "https://ntfy.xenia.me.uk";
listen-http = ":8800";
behind-proxy = true;
enable-signup = false;
enable-metrics = true;
};
};
services.caddy.virtualHosts."ntfy.xenia.me.uk".extraConfig =
"reverse_proxy http://localhost:8800";
}