nixos/system/services/ntfy-sh.nix

16 lines
374 B
Nix
Raw Normal View History

2024-07-30 15:06:34 +01:00
{ ... }:
{
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;
};
};
2024-01-30 14:21:50 +00:00
services.caddy.virtualHosts."ntfy.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:8800";
}