niksos/hosts/chmura/ntfy-sh.nix
2023-10-03 19:22:24 +02:00

16 lines
346 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
'';
};
}