- Update ports for Alloy, Grafana, Loki, Prometheus, Promtail, Tempo, and Uptime Kuma to new ranges - Add Arrtrix content management commands and subscriptions - Implement Radarr and Sonarr client logic for movie and series management - Add matrix commands for download and subscription management - Add subscription repository with database schema and logic - Update Arrtrix config and example config for content section - Update help text and command processor to include new commands - Update vendor hash for Arrtrix package
25 lines
534 B
Nix
25 lines
534 B
Nix
{ pkgs, config, lib, namespace, ... }:
|
|
let
|
|
inherit (builtins) toString;
|
|
inherit (lib) mkIf mkEnableOption;
|
|
|
|
cfg = config.${namespace}.services.observability.uptime-kuma;
|
|
in
|
|
{
|
|
options.${namespace}.services.observability.uptime-kuma = {
|
|
enable = mkEnableOption "enable uptime kuma";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
services.uptime-kuma = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
PORT = toString 9500;
|
|
HOST = "0.0.0.0";
|
|
};
|
|
};
|
|
|
|
networking.firewall.allowedTCPPorts = [ 9500 ];
|
|
};
|
|
}
|