From a6c24c1f8138efaa47b343402c94f199a86ac8e4 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Sat, 15 Nov 2025 02:29:57 +0100 Subject: [PATCH] Services/Prowlarr: Init at v2.1.5 --- system/servenix/default.nix | 1 + system/services/prowlarr.nix | 46 ++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 system/services/prowlarr.nix diff --git a/system/servenix/default.nix b/system/servenix/default.nix index 962f22d9..e0ec726c 100644 --- a/system/servenix/default.nix +++ b/system/servenix/default.nix @@ -35,6 +35,7 @@ ../services/nginx-proxy-manager.nix ../services/paperless.nix ../services/portainer-agent.nix + ../services/prowlarr.nix ../services/radarr.nix ../services/sabnzbd-movies.nix ../services/sabnzbd-shows.nix diff --git a/system/services/prowlarr.nix b/system/services/prowlarr.nix new file mode 100644 index 00000000..5c1bdec0 --- /dev/null +++ b/system/services/prowlarr.nix @@ -0,0 +1,46 @@ +{ + config, + lib, + pkgs, + ... +}: let + prowlarrVersion = "2.1.5"; +in { + virtualisation.oci-containers.containers = { + prowlarr = { + image = "linuxserver/prowlarr:${prowlarrVersion}"; + autoStart = true; + + login = { + # Uses DockerHub by default + # registry = ""; + + # DockerHub Credentials + username = "christoph.urlacher@protonmail.com"; + passwordFile = "${config.sops.secrets.docker-password.path}"; + }; + + dependsOn = []; + + ports = [ + # "9696:9696" + ]; + + volumes = [ + "prowlarr_config:/config" + ]; + + environment = { + PUID = "1000"; + PGID = "1000"; + TZ = "Europe/Berlin"; + }; + + extraOptions = [ + # "--privileged" + # "--device=nvidia.com/gpu=all" + "--net=behind-nginx" + ]; + }; + }; +}