Files
homelab/services/clonarr.nix
T
darmanandClaude Sonnet 5 69a63dc615 Add *arr media stack + Gitea to jupiter
- sabnzbd, prowlarr, sonarr, radarr, clonarr, seerr, cinephage, mediamanager
  services, wired into jupiter with LAN Caddy vhosts.
- Gitea: migrated the old ZimaOS docker instance's data (sqlite db, 4 repos,
  no LFS objects) into the NixOS module's default stateDir layout. HTTP via
  Caddy; git SSH on its own built-in server at :2222 (not :222 - the unpriv
  gitea user can't bind <1024).
- mediamanager-nix flake input for the mediamanager service.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-19 21:27:50 +02:00

29 lines
902 B
Nix

{ ... }:
# Clonarr — visual TRaSH-Guides sync tool for Radarr/Sonarr (quality
# profiles, custom formats, scores). No nixpkgs package; runs the official
# container image (ghcr.io/prophetse7en/clonarr).
{
virtualisation.oci-containers.containers.clonarr = {
image = "ghcr.io/prophetse7en/clonarr:latest";
autoStart = true;
# Host networking: clonarr needs to reach Radarr/Sonarr/Prowlarr on
# jupiter's own localhost (native systemd services, not containers) —
# bridge-mode "localhost" would be the container's own netns, not the host's.
extraOptions = [ "--network=host" ];
volumes = [
"/mnt/data/AppData/clonarr:/config"
];
environment = {
TZ = "Europe/Berlin";
PUID = "1000";
PGID = "100"; # darman:users
PORT = "6060";
};
};
systemd.tmpfiles.rules = [
"d /mnt/data/AppData/clonarr 0755 darman users -"
];
}