migrate media services to pocketid
Some checks failed
/ lint (push) Failing after 34s

This commit is contained in:
Jana Dönszelmann 2026-01-03 11:51:49 +01:00
parent 5f9ef795c0
commit 612b7a13a7
No known key found for this signature in database
10 changed files with 69 additions and 126 deletions

View file

@ -11,6 +11,10 @@ _: {
};
};
services.oauth2-proxy.nginx.virtualHosts."jackett.donsz.nl" = {
allowed_groups = [ "torrent" ];
};
services.jackett = {
enable = true;
group = "jellyfin";

View file

@ -3,15 +3,20 @@ let
port = 11002;
in
{
config.networking.firewall.allowedTCPPorts = [ port ];
services.nginx.virtualHosts."req.donsz.nl" = {
forceSSL = true;
http2 = true;
enableACME = true;
config.virtualisation.oci-containers.containers = {
locations."/" = {
proxyPass = "http://[::1]:${toString port}";
};
};
virtualisation.oci-containers.containers = {
overseerr = {
image = "mirror.gcr.io/fallenbagel/jellyseerr:develop";
image = "ghcr.io/fallenbagel/jellyseerr:preview-seerr";
environment = {
PORT = "5555";
TZ = "Europe/Amsterdam";
LOG_LEVEL = "debug";
};
extraOptions = [ "--network=host" ];
volumes = [

View file

@ -1,4 +1,4 @@
{ ... }:
{ pkgs, ... }:
{
services.nginx = {
virtualHosts."radarr.donsz.nl" = {
@ -11,10 +11,19 @@
};
};
};
services.oauth2-proxy.nginx.virtualHosts."radarr.donsz.nl" = {
allowed_groups = [ "torrent" ];
};
services.radarr = {
enable = true;
group = "jellyfin";
user = "jellyfin";
environmentFiles = [
(pkgs.writeText "env" ''
RADARR__AUTH__METHOD="External"
'')
];
};
}

View file

@ -1,4 +1,5 @@
_: {
{ pkgs, ... }:
{
services.nginx = {
virtualHosts."sonarr.donsz.nl" = {
forceSSL = true;
@ -10,10 +11,19 @@ _: {
};
};
};
services.oauth2-proxy.nginx.virtualHosts."sonarr.donsz.nl" = {
allowed_groups = [ "torrent" ];
};
services.sonarr = {
enable = true;
group = "jellyfin";
user = "jellyfin";
environmentFiles = [
(pkgs.writeText "env" ''
SONARR__AUTH__METHOD="External"
'')
];
};
}

View file

@ -78,7 +78,9 @@
};
};
};
services.oauth2-proxy.nginx.virtualHosts."dl.donsz.nl" = { };
services.oauth2-proxy.nginx.virtualHosts."dl.donsz.nl" = {
allowed_groups = [ "torrent" ];
};
systemd.services.transmission.vpnConfinement = {
enable = true;