mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-08-24 02:14:13 -05:00
fix(hosts/merope): go back to upstream seerr
This commit is contained in:
@@ -2,44 +2,9 @@
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
seerrng = pkgs.seerr.overrideAttrs (finalAttrs: previousAttrs: {
|
||||
pname = "seerrng";
|
||||
version = "3.12.3";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "snapetech";
|
||||
repo = "seerrng";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-sX4V/9OXrwKckd5RMHvJrkoSpehtHEEHYNg267oBzVk=";
|
||||
};
|
||||
pnpmDeps = pkgs.fetchPnpmDeps {
|
||||
inherit (finalAttrs) pname version src;
|
||||
pnpm = pkgs.pnpm_10.override {nodejs-slim = pkgs.nodejs-slim_22;};
|
||||
fetcherVersion = 3;
|
||||
hash = "sha256-xd+FrZDzUA/jLkWRrlL6K9r85/nNkYDR4jF/pObXomo=";
|
||||
};
|
||||
postPatch =
|
||||
(previousAttrs.postPatch or "")
|
||||
+ ''
|
||||
substituteInPlace server/api/servarr/lidarr.ts \
|
||||
--replace-fail \
|
||||
"this.apiKey = apiKey;" \
|
||||
"this.apiKey = apiKey; this.axios.defaults.maxContentLength = 64 * 1024 * 1024;"
|
||||
'';
|
||||
meta =
|
||||
previousAttrs.meta
|
||||
// {
|
||||
description = "Seerr fork with music, ebook, and audiobook support";
|
||||
homepage = "https://github.com/snapetech/seerrng";
|
||||
};
|
||||
});
|
||||
in {
|
||||
}: {
|
||||
services.seerr = {
|
||||
enable = true;
|
||||
package = seerrng;
|
||||
# DynamicUser exposes StateDirectory through /var/lib/jellyseerr as a
|
||||
# symlink; SeerrNG deliberately rejects symlinks in its log path.
|
||||
configDir = "/var/lib/private/jellyseerr/config";
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."requests.m7.rs" = {
|
||||
|
||||
Reference in New Issue
Block a user