CrOS/modules/services/ntfy-sh/default.nix
TheWanderingCrow f31d9d3b20 fail2ban
2025-08-20 09:49:03 -04:00

24 lines
533 B
Nix

{
services.nginx = {
enable = true;
recommendedProxySettings = true;
virtualHosts = {
"notify.wanderingcrow.net" = {
forceSSL = true;
useACMEHost = "notify.wanderingcrow.net";
locations."/" = {
proxyPass = "http://localhost:9089";
proxyWebsockets = true;
};
};
};
};
services.ntfy-sh = {
enable = true;
settings = {
base-url = "https://notify.wanderingcrow.net";
listen-http = ":9089";
behind-proxy = true;
};
};
}