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>
This commit is contained in:
2026-10-08 23:15:30 +02:00
co-authored by Claude Opus 5.5
parent 14f5e96f7e
commit eec1f33e96
5 changed files with 205 additions and 109 deletions
+17 -16
View File
@@ -1,26 +1,27 @@
{ ... }:
# Seerr (formerly Jellyseerr) — request manager for Jellyfin, talking to
# Sonarr/Radarr; fresh install, no migrated data. configDir stays at the
# module default, with AppData bind-mounted onto it instead (same
# DynamicUser/StateDirectory issue as prowlarr.nix — see that file for why,
# and why the mount targets /var/lib/private/seerr rather than the public path).
# 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.
{
services.seerr.enable = true;
# `nofail` for the same reason as prowlarr.nix — see the comment there: an
# array-backed bind without it fails local-fs.target and boots to an
# unusable emergency shell.
fileSystems."/var/lib/private/seerr" = {
device = "/mnt/data/AppData/seerr";
fsType = "none";
options = [ "bind" "nofail" ];
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";
};
};
# Only /var/lib/seerr (eMMC) is picked up automatically; pin to the array.
systemd.services.seerr.unitConfig.RequiresMountsFor = [ "/mnt/data" ];
# 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" ];
}