feat: transmission & uptime-kuma

This commit is contained in:
Ryan Yin
2024-02-08 23:47:01 +08:00
parent 18a40b49e3
commit 28ea82df03
3 changed files with 128 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
{
# https://github.com/NixOS/nixpkgs/blob/nixos-23.11/nixos/modules/services/monitoring/uptime-kuma.nix
services.uptime-kuma = {
enable = true;
# https://github.com/louislam/uptime-kuma/wiki/Environment-Variables
settings = {
# this assumes a reverse proxy to be set, uptime-kuma will only listen on localhost
"UPTIME_KUMA_HOST" = "127.0.0.1";
"UPTIME_KUMA_PORT" = 3001;
"DATA_DIR" = "/data/uptime-kuma";
};
};
}