feat(nixos): add shelfmark to arr services preset

This commit is contained in:
Noah Masur committed 2026-11-07 08:44:21 -05:00
1 parent a8dc2f0d62
commit 314298134d
1 file changed
+22
@@ -106,6 +106,12 @@ in
lidarr = { lidarr = {
enable = true; enable = true;
}; };
shelfmark = {
enable = true;
environment = {
URL_BASE = "/shelfmark";
};
};
}; };
# Allows shared group to read/write the sabnzbd directory # Allows shared group to read/write the sabnzbd directory
@@ -161,6 +167,22 @@ in
} }
]; ];
} }
{
match = [
{
host = [ hostnames.download ];
path = [ "/shelfmark*" ];
}
];
handle = [
{
handler = "reverse_proxy";
upstreams = [
{ dial = "localhost:${builtins.toString config.services.shelfmark.environment.FLASK_PORT}"; }
];
}
];
}
{ {
match = [ match = [
{ {