mirror of
https://github.com/nmasur/dotfiles
synced 2026-11-13 15:55: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 = {
|
||||
enable = true;
|
||||
};
|
||||
shelfmark = {
|
||||
enable = true;
|
||||
environment = {
|
||||
URL_BASE = "/shelfmark";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# 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 = [
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user