diff --git a/hosts/kariru/services/default.nix b/hosts/kariru/services/default.nix index 0fa8fde..8b916ff 100644 --- a/hosts/kariru/services/default.nix +++ b/hosts/kariru/services/default.nix @@ -1,5 +1,5 @@ {pkgs, ...}: { - networking.firewall.allowedTCPPorts = [9292]; + networking.firewall.allowedTCPPorts = [9292 8111]; imports = [ ./restic.nix @@ -32,23 +32,28 @@ enable = false; openFirewall = true; }; - sabnzbd.enable = true; + sabnzbd.enable = false; }; virtualisation.oci-containers.containers = { - whisparr = { - image = "ghcr.io/hotio/whisparr@sha256:d66f5dc01af747881e25b8e72aa45de30fba672c16df897af69257704fb61fe4"; # v3-3.0.0.545 - ports = ["6969:6969"]; - volumes = [ - "/var/lib/whisparr:/config" - "/stash:/media/stash" - "/media/downloads:/media/downloads" - ]; + byparr = { + image = "ghcr.io/thephaseless/byparr@sha256:9f83a6f5e5cec22a70abf3401a23164295a4b2e1ced37264907c3512981e527a"; # v3.3.21 + ports = ["8191:8191"]; extraOptions = ["--network=host"]; }; - flaresolverr = { - image = "ghcr.io/flaresolverr/flaresolverr@sha256:5f5661db1e69a6f80ac24d47d9fa5580f6f741ee5ec967818396ae0dacecd7ea"; # v3.3.17 - ports = ["8191:8191"]; + shoko = { + image = "ghcr.io/shokoanime/server@sha256:dde0c5a8bddc226ae368827fd7df382602ad312a2337ebade8e5cc63fa0c4dac"; # v5.1.0 + ports = ["8111:8111"]; + environment = { + PUID = "1000"; + PGID = "1000"; + TZ = "Etc/UTC"; + }; + volumes = [ + "/var/lib/shoko:/home/shoko/.shoko" + "/media/anime:/media/anime" + "/media/anime-movies:/media/anime-movies" + ]; extraOptions = ["--network=host"]; }; }; diff --git a/hosts/kariru/services/torrent.nix b/hosts/kariru/services/torrent.nix index bca5f3b..54d37d4 100644 --- a/hosts/kariru/services/torrent.nix +++ b/hosts/kariru/services/torrent.nix @@ -17,7 +17,7 @@ extraOptions = ["--cap-add=NET_ADMIN" "--device=/dev/net/tun:/dev/net/tun"]; }; qbittorrent = { - image = "linuxserver/qbittorrent@sha256:8e541cfd4dc991ba43901314b465067fe287728d7d6fd8ae911958d0b9df184c"; # v5.0.3 + image = "linuxserver/qbittorrent@sha256:50f490770308d0351e12618422e74e0613721b080f5db0bf840cf66a7281eea8"; # v5.0.4 dependsOn = ["gluetun"]; environment = { PUID = "1001";