Build Prowlarr image with NixNG
This commit is contained in:
parent
d581b6228b
commit
70880ac224
5 changed files with 15 additions and 5 deletions
|
@ -20,9 +20,9 @@ Legend:
|
||||||
| ✨ | `nixng-radarr` | |
|
| ✨ | `nixng-radarr` | |
|
||||||
| ✨ | `nixng-sonarr` | |
|
| ✨ | `nixng-sonarr` | |
|
||||||
| ✨ | `nixng-bazarr` | |
|
| ✨ | `nixng-bazarr` | |
|
||||||
|
| ✨ | `nixng-prowlarr` | |
|
||||||
| ✅ | `jellyfin/jellyfin` | |
|
| ✅ | `jellyfin/jellyfin` | |
|
||||||
| ✅ | `linuxserver/deluge` | |
|
| ✅ | `linuxserver/deluge` | |
|
||||||
| ✅ | `lscr.io/linuxserver/prowlarr` | |
|
|
||||||
| ✅ | `ghcr.io/atuinsh/atuin` | |
|
| ✅ | `ghcr.io/atuinsh/atuin` | |
|
||||||
| ✅ | `postgres:14` | Database for Atuin |
|
| ✅ | `postgres:14` | Database for Atuin |
|
||||||
| ✅ | `ghcr.io/paperless-ngx/paperless-ngx` | |
|
| ✅ | `ghcr.io/paperless-ngx/paperless-ngx` | |
|
||||||
|
|
6
flake.lock
generated
6
flake.lock
generated
|
@ -676,11 +676,11 @@
|
||||||
"treefmt-nix": "treefmt-nix_2"
|
"treefmt-nix": "treefmt-nix_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1734971171,
|
"lastModified": 1734976053,
|
||||||
"narHash": "sha256-4PEQpCiLiHPnbEWpP2e2QoxUzqe9PXgJyU2FWIXfAB8=",
|
"narHash": "sha256-hvKsaAgdZKeAv/VnF/W0isS+Ex/5ij7AGmp5tLpFGuQ=",
|
||||||
"owner": "pizzapim",
|
"owner": "pizzapim",
|
||||||
"repo": "NixNG",
|
"repo": "NixNG",
|
||||||
"rev": "8791c628410bc5feb2b9052877b7a67cc089e47e",
|
"rev": "90cbec543482973ef5b314ad40a842623c2696a9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -276,7 +276,7 @@
|
||||||
volumes.config.persistentVolumeClaim.claimName = "prowlarr";
|
volumes.config.persistentVolumeClaim.claimName = "prowlarr";
|
||||||
|
|
||||||
containers.prowlarr = {
|
containers.prowlarr = {
|
||||||
image = globals.images.prowlarr;
|
image = utils.mkNixNGImage "prowlarr";
|
||||||
ports.web.containerPort = 9696;
|
ports.web.containerPort = 9696;
|
||||||
imagePullPolicy = "IfNotPresent";
|
imagePullPolicy = "IfNotPresent";
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,7 @@ flake-utils.lib.eachDefaultSystem (system: let
|
||||||
radarr = ./radarr.nix;
|
radarr = ./radarr.nix;
|
||||||
sonarr = ./sonarr.nix;
|
sonarr = ./sonarr.nix;
|
||||||
bazarr = ./bazarr.nix;
|
bazarr = ./bazarr.nix;
|
||||||
|
prowlarr = ./prowlarr.nix;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
nixngConfigurations = builtins.mapAttrs (name: configFile:
|
nixngConfigurations = builtins.mapAttrs (name: configFile:
|
||||||
|
|
9
nixng-configurations/prowlarr.nix
Normal file
9
nixng-configurations/prowlarr.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{...}: {
|
||||||
|
dinit.enable = true;
|
||||||
|
init.services.prowlarr.shutdownOnExit = true;
|
||||||
|
|
||||||
|
services.prowlarr = {
|
||||||
|
enable = true;
|
||||||
|
dataDir = "/config";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue