services/*arr: configure port correctly
Some checks failed
/ Build Nix targets (push) Has been cancelled

This commit is contained in:
Felix Buehler 2025-11-26 00:06:52 +01:00
parent 3d42c4a9aa
commit 76d432162d
3 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,6 @@
let let
cfg = config.my.services.prowlarr; cfg = config.my.services.prowlarr;
inherit (config.networking) domain; inherit (config.networking) domain;
# in 25.05 this might be configurable
port = 9696; port = 9696;
in in
{ {
@ -22,6 +21,7 @@ in
services = { services = {
prowlarr = { prowlarr = {
enable = true; enable = true;
settings.server.port = port;
}; };
prometheus.exporters.exportarr-prowlarr = { prometheus.exporters.exportarr-prowlarr = {
inherit (config.services.prometheus) enable; inherit (config.services.prometheus) enable;

View file

@ -3,7 +3,6 @@
let let
cfg = config.my.services.radarr; cfg = config.my.services.radarr;
inherit (config.networking) domain; inherit (config.networking) domain;
# in 25.05 this might be configurable
port = 7878; port = 7878;
in in
{ {
@ -22,6 +21,7 @@ in
services = { services = {
radarr = { radarr = {
enable = true; enable = true;
settings.server.port = port;
}; };
prometheus.exporters.exportarr-radarr = { prometheus.exporters.exportarr-radarr = {
inherit (config.services.prometheus) enable; inherit (config.services.prometheus) enable;

View file

@ -3,7 +3,6 @@
let let
cfg = config.my.services.sonarr; cfg = config.my.services.sonarr;
inherit (config.networking) domain; inherit (config.networking) domain;
# in 25.05 this might be configurable
port = 8989; port = 8989;
in in
{ {
@ -28,6 +27,7 @@ in
services = { services = {
sonarr = { sonarr = {
enable = true; enable = true;
settings.server.port = port;
}; };
prometheus.exporters.exportarr-sonarr = { prometheus.exporters.exportarr-sonarr = {
inherit (config.services.prometheus) enable; inherit (config.services.prometheus) enable;