add ntfy module

This commit is contained in:
Yan Lin 2025-12-02 03:19:52 +01:00
parent c4354805e5
commit 417453f2f3
3 changed files with 72 additions and 1 deletions

View file

@ -66,6 +66,18 @@
};
};
# ntfy notification service
ntfy = {
rule = "Host(`ntfy.yanlincs.com`)";
service = "ntfy";
tls = {
certResolver = "cloudflare";
domains = [{
main = "*.yanlincs.com";
}];
};
};
};
services = {
@ -106,7 +118,7 @@
};
};
# Radarr backend
# Radarr backend
radarr = {
loadBalancer = {
servers = [{
@ -115,6 +127,15 @@
};
};
# ntfy backend
ntfy = {
loadBalancer = {
servers = [{
url = "http://localhost:8080";
}];
};
};
};
};

View file

@ -9,6 +9,7 @@
../../../modules/traefik.nix
../../../modules/borg/client.nix
../../../modules/login-display.nix
../../../modules/ntfy.nix
];
# GRUB bootloader with UEFI support