sora: switch to ntfy from gotify
Some checks failed
fmt check / check (push) Waiting to run
flake check / check (push) Has been cancelled

This commit is contained in:
notohh 2023-12-30 18:02:40 -05:00
parent ac3f794578
commit 9acd9716da
Signed by: notohh
GPG key ID: BD47506D475EE86D
4 changed files with 22 additions and 16 deletions

View file

@ -2,7 +2,7 @@
imports = [
./traefik.nix
./uptimekuma.nix
./gotify.nix
./ntfy-sh.nix
./tailscale.nix
./factorio.nix
# ./minecraft.nix

View file

@ -1,7 +0,0 @@
_: {
networking.firewall.allowedTCPPorts = [3000];
services.gotify = {
enable = true;
port = 3000;
};
}

View file

@ -0,0 +1,13 @@
{pkgs, ...}: {
environment.systemPackages = [pkgs.ntfy-sh];
services.ntfy-sh = {
enable = true;
settings = {
listen-http = ":8090";
base-url = "https://ntfy.flake.sh";
upstream-base-url = "https://ntfy.sh";
behind-proxy = true;
auth-default-access = "read-only";
};
};
}

View file

@ -55,13 +55,6 @@
tls.domains = [{main = "*.flake.sh";}];
tls.certresolver = "production";
};
gotify = {
rule = "Host(`gotify.flake.sh`)";
entrypoints = ["websecure"];
service = "gotify";
tls.domains = [{main = "*.flake.sh";}];
tls.certresolver = "production";
};
conduit = {
rule = "Host(`matrix.flake.sh`)";
entrypoints = ["websecure"];
@ -133,6 +126,13 @@
tls.domains = [{main = "*.flake.sh";}];
tls.certresolver = "production";
};
ntfy = {
rule = "Host(`ntfy.flake.sh`)";
entrypoints = ["websecure"];
service = "ntfy-sh";
tls.domains = [{main = "*.flake.sh";}];
tls.certresolver = "production";
};
};
services = {
forgejo.loadBalancer = {
@ -140,7 +140,6 @@
servers = [{url = "http://100.121.201.47:3200";}];
};
uptime-kuma.loadBalancer.servers = [{url = "http://100.104.42.96:4000";}];
gotify.loadBalancer.servers = [{url = "http://100.104.42.96:3000";}];
conduit.loadBalancer.servers = [{url = "http://100.121.201.47:6167";}];
authelia.loadBalancer.servers = [{url = "http://100.121.201.47:9091";}];
foundryvtt.loadBalancer.servers = [{url = "http://100.121.201.47:30000";}];
@ -151,6 +150,7 @@
searxng.loadBalancer.servers = [{url = "http://100.121.201.47:8100";}];
neko.loadBalancer.servers = [{url = "http://100.104.42.96:8085";}];
justlog.loadBalancer.servers = [{url = "http://100.121.201.47:8025";}];
ntfy-sh.loadBalancer.servers = [{url = "http://100.104.42.96:8090";}];
};
};
};