niksos/hosts/chmura/services/ntfy-sh.nix
2024-07-16 00:26:09 +02:00

16 lines
343 B
Nix

{
services.ntfy-sh = {
enable = true;
settings = {
base-url = "https://ntfy.jacekpoz.pl";
listen-http = ":7483";
};
};
services.caddy = {
enable = true;
virtualHosts."ntfy.jacekpoz.pl".extraConfig = ''
reverse_proxy * localhost:7483
'';
};
}