Files
homelab/services/media/seerr.nix
T
darmanandClaude Opus 5.5 eec1f33e96 feat(jupiter): shrink system closure for the 29G eMMC
Run immich and seerr as official images (their node/python stacks live in
podman's graphroot on the array), ship only the firmware the board loads,
and point jellyfin at intel-media-driver directly instead of
hardware.graphics (mesa + llvm).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 23:15:30 +02:00

28 lines
1.0 KiB
Nix

{ ... }:
# Seerr (formerly Jellyseerr) — request manager for Jellyfin, talking to
# Sonarr/Radarr. Runs the official image rather than the nixpkgs package, whose
# ~1.5G node_modules would otherwise sit in the system closure on the eMMC.
{
virtualisation.oci-containers.containers.seerr = {
image = "ghcr.io/seerr-team/seerr:v3.2.0";
# Host networking so "localhost" reaches jellyfin/sonarr/radarr (native
# services) — same reason as clonarr.nix. Listens on :5055.
extraOptions = [ "--network=host" "--user=1000:100" "--init" ];
volumes = [ "/mnt/data/AppData/seerr:/app/config" ];
environment = {
TZ = "Europe/Berlin";
PORT = "5055";
};
};
# Z: the config was written by the old module's DynamicUser (a random uid);
# hand it to darman, which the container runs as.
systemd.tmpfiles.rules = [
"d /mnt/data/AppData/seerr 0755 darman users -"
"Z /mnt/data/AppData/seerr - darman users -"
];
systemd.services.podman-seerr.unitConfig.RequiresMountsFor = [ "/mnt/data" ];
}