diff --git a/hosts/library/default.nix b/hosts/library/default.nix index d14c449..08bd581 100644 --- a/hosts/library/default.nix +++ b/hosts/library/default.nix @@ -110,6 +110,22 @@ with lib.my; "--device=/dev/dri:/dev/dri" ]; }; + lidarr = { + image = "lscr.io/linuxserver/lidarr:latest"; + autoStart = true; + ports = [ "8686:8686/tcp" ]; + environment = { + PUID = 0; + GUID = 0; + }; + volumes = [ + "lidarr-config:/config:Z" + "downloads:/downloads" + ]; + extraOptions = [ + "--label=io.containers.autoupdate=registry" + ]; + }; ombi = { image = "lscr.io/linuxserver/ombi:latest"; autoStart = true; @@ -125,6 +141,17 @@ with lib.my; ]; dependsOn = [ "jellyfin" ]; }; + prowlarr = { + image = "lscr.io/linuxserver/prowlarr:latest"; + autoStart = true; + ports = [ "9696:9696/tcp" ]; + volumes = [ + "prowlarr-config:/config:Z" + ]; + extraOptions = [ + "--label=io.containers.autoupdate=registry" + ]; + }; qbittorrent = { image = "lscr.io/linuxserver/qbittorrent:latest"; autoStart = true; @@ -145,33 +172,43 @@ with lib.my; image = "lscr.io/linuxserver/radarr:latest"; autoStart = true; ports = [ "7878:7878/tcp" ]; + environment = { + PUID = 0; + GUID = 0; + }; volumes = [ "radarr-config:/config:Z" "downloads:/downloads" ]; extraOptions = [ - "-e PUID=0" - "-e GUID=0" "--label=io.containers.autoupdate=registry" "--mount=type=bind,source=/mnt/library/movies,target=/movies" ]; - dependsOn = [ "qbittorrent" ]; + dependsOn = [ + "prowlarr" + "qbittorrent" + ]; }; sonarr = { image = "lscr.io/linuxserver/sonarr:latest"; autoStart = true; ports = [ "8989:8989/tcp" ]; + environment = { + PUID = 0; + GUID = 0; + }; volumes = [ "sonarr-config:/config:Z" "downloads:/downloads" ]; extraOptions = [ - "-e PUID=0" - "-e GUID=0" "--label=io.containers.autoupdate=registry" "--mount=type=bind,source=/mnt/library/tv,target=/tv" ]; - dependsOn = [ "qbittorrent" ]; + dependsOn = [ + "prowlarr" + "qbittorrent" + ]; }; };