ntfy-sh: add more topics to subscribe to

This commit is contained in:
Tigor Hutasuhut 2024-10-11 10:34:38 +07:00
parent 202d959be6
commit 4ff756fbea
3 changed files with 22 additions and 5 deletions

View file

@ -13,8 +13,8 @@ let
uid = toString user.uid; uid = toString user.uid;
gid = toString user.gid; gid = toString user.gid;
in in
{ lib.mkMerge [
config = mkIf (podman.enable && qbittorrent.enable) { (mkIf (podman.enable && qbittorrent.enable) {
services.caddy.virtualHosts.${domain}.extraConfig = '' services.caddy.virtualHosts.${domain}.extraConfig = ''
reverse_proxy ${ip}:8080 reverse_proxy ${ip}:8080
''; '';
@ -109,6 +109,12 @@ in
"io.containers.autoupdate" = "registry"; "io.containers.autoupdate" = "registry";
}; };
}; };
}; })
} {
profile.services.ntfy-sh.client.settings.subscribe = [
{
topic = "qbittorrent";
}
];
}
]

View file

@ -10,4 +10,10 @@
./rdtclient.nix ./rdtclient.nix
./recyclarr.nix ./recyclarr.nix
]; ];
profile.services.ntfy-sh.client.settings.subscribe = [
{
topic = "servarr";
}
];
} }

View file

@ -8,4 +8,9 @@
./mimir.nix ./mimir.nix
./prometheus.nix ./prometheus.nix
]; ];
profile.services.ntfy-sh.client.settings.subscribe = [
{ topic = "homeserver"; }
{ topic = "grafana"; }
];
} }