feat: we have ygg at home

This commit is contained in:
Luj 2024-11-30 20:46:38 +01:00
parent 707ad3a495
commit 2abb60d0e9
2 changed files with 124 additions and 1 deletions

View file

@ -35,7 +35,13 @@ in
services.jackett = {
enable = true;
# unstable version to have updated torrent list
package = pkgs.jackett;
package = pkgs.unstable.jackett.overrideAttrs (
_: _: {
postInstall = ''
cp ${./ygg-api.yml} $out/lib/jackett/Definitions/ygg-api.yml
'';
}
);
inherit (cfg) user group;
};
}