mirror of
https://github.com/nmasur/dotfiles
synced 2026-11-14 14:05:02 +00:00
feat(nixos): add shelfmark to arr services preset
This commit is contained in:
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 = [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user