diff --git a/system/podman/qbittorrent.nix b/system/podman/qbittorrent.nix index 1ae63ff..0b33537 100644 --- a/system/podman/qbittorrent.nix +++ b/system/podman/qbittorrent.nix @@ -13,8 +13,8 @@ let uid = toString user.uid; gid = toString user.gid; in -{ - config = mkIf (podman.enable && qbittorrent.enable) { +lib.mkMerge [ + (mkIf (podman.enable && qbittorrent.enable) { services.caddy.virtualHosts.${domain}.extraConfig = '' reverse_proxy ${ip}:8080 ''; @@ -109,6 +109,12 @@ in "io.containers.autoupdate" = "registry"; }; }; - }; -} - + }) + { + profile.services.ntfy-sh.client.settings.subscribe = [ + { + topic = "qbittorrent"; + } + ]; + } +] diff --git a/system/podman/servarr/default.nix b/system/podman/servarr/default.nix index a461fb7..0b49651 100644 --- a/system/podman/servarr/default.nix +++ b/system/podman/servarr/default.nix @@ -10,4 +10,10 @@ ./rdtclient.nix ./recyclarr.nix ]; + + profile.services.ntfy-sh.client.settings.subscribe = [ + { + topic = "servarr"; + } + ]; } diff --git a/system/services/telemetry/default.nix b/system/services/telemetry/default.nix index 1a0adad..af34198 100644 --- a/system/services/telemetry/default.nix +++ b/system/services/telemetry/default.nix @@ -8,4 +8,9 @@ ./mimir.nix ./prometheus.nix ]; + + profile.services.ntfy-sh.client.settings.subscribe = [ + { topic = "homeserver"; } + { topic = "grafana"; } + ]; }