Build Prowlarr image with NixNG

This commit is contained in:
Pim Kunis 2024-12-23 18:58:03 +01:00
parent d581b6228b
commit 70880ac224
5 changed files with 15 additions and 5 deletions

View file

@ -20,9 +20,9 @@ Legend:
| ✨ | `nixng-radarr` | |
| ✨ | `nixng-sonarr` | |
| ✨ | `nixng-bazarr` | |
| ✨ | `nixng-prowlarr` | |
| ✅ | `jellyfin/jellyfin` | |
| ✅ | `linuxserver/deluge` | |
| ✅ | `lscr.io/linuxserver/prowlarr` | |
| ✅ | `ghcr.io/atuinsh/atuin` | |
| ✅ | `postgres:14` | Database for Atuin |
| ✅ | `ghcr.io/paperless-ngx/paperless-ngx` | |

6
flake.lock generated
View file

@ -676,11 +676,11 @@
"treefmt-nix": "treefmt-nix_2"
},
"locked": {
"lastModified": 1734971171,
"narHash": "sha256-4PEQpCiLiHPnbEWpP2e2QoxUzqe9PXgJyU2FWIXfAB8=",
"lastModified": 1734976053,
"narHash": "sha256-hvKsaAgdZKeAv/VnF/W0isS+Ex/5ij7AGmp5tLpFGuQ=",
"owner": "pizzapim",
"repo": "NixNG",
"rev": "8791c628410bc5feb2b9052877b7a67cc089e47e",
"rev": "90cbec543482973ef5b314ad40a842623c2696a9",
"type": "github"
},
"original": {

View file

@ -276,7 +276,7 @@
volumes.config.persistentVolumeClaim.claimName = "prowlarr";
containers.prowlarr = {
image = globals.images.prowlarr;
image = utils.mkNixNGImage "prowlarr";
ports.web.containerPort = 9696;
imagePullPolicy = "IfNotPresent";

View file

@ -16,6 +16,7 @@ flake-utils.lib.eachDefaultSystem (system: let
radarr = ./radarr.nix;
sonarr = ./sonarr.nix;
bazarr = ./bazarr.nix;
prowlarr = ./prowlarr.nix;
};
in {
nixngConfigurations = builtins.mapAttrs (name: configFile:

View file

@ -0,0 +1,9 @@
{...}: {
dinit.enable = true;
init.services.prowlarr.shutdownOnExit = true;
services.prowlarr = {
enable = true;
dataDir = "/config";
};
}