Use NixNG to build Bazarr
This commit is contained in:
parent
95ce6f2c7a
commit
d581b6228b
5 changed files with 15 additions and 5 deletions
|
@ -19,10 +19,10 @@ Legend:
|
||||||
| ✨ | `nixng-jellyseerr` | |
|
| ✨ | `nixng-jellyseerr` | |
|
||||||
| ✨ | `nixng-radarr` | |
|
| ✨ | `nixng-radarr` | |
|
||||||
| ✨ | `nixng-sonarr` | |
|
| ✨ | `nixng-sonarr` | |
|
||||||
|
| ✨ | `nixng-bazarr` | |
|
||||||
| ✅ | `jellyfin/jellyfin` | |
|
| ✅ | `jellyfin/jellyfin` | |
|
||||||
| ✅ | `linuxserver/deluge` | |
|
| ✅ | `linuxserver/deluge` | |
|
||||||
| ✅ | `lscr.io/linuxserver/prowlarr` | |
|
| ✅ | `lscr.io/linuxserver/prowlarr` | |
|
||||||
| ✅ | `lscr.io/linuxserver/bazarr` | |
|
|
||||||
| ✅ | `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` | |
|
||||||
|
|
|
@ -676,11 +676,11 @@
|
||||||
"treefmt-nix": "treefmt-nix_2"
|
"treefmt-nix": "treefmt-nix_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1734963444,
|
"lastModified": 1734971171,
|
||||||
"narHash": "sha256-uxPuuRnW0O8SC0IGo9jY+x3ghfSEfFcaSAVFb1ZxlWo=",
|
"narHash": "sha256-4PEQpCiLiHPnbEWpP2e2QoxUzqe9PXgJyU2FWIXfAB8=",
|
||||||
"owner": "pizzapim",
|
"owner": "pizzapim",
|
||||||
"repo": "NixNG",
|
"repo": "NixNG",
|
||||||
"rev": "a16aa49f49eb559742ff71ad30cfa9985e2223df",
|
"rev": "8791c628410bc5feb2b9052877b7a67cc089e47e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -383,7 +383,7 @@
|
||||||
|
|
||||||
spec = {
|
spec = {
|
||||||
containers.bazarr = {
|
containers.bazarr = {
|
||||||
image = globals.images.bazarr;
|
image = utils.mkNixNGImage "bazarr";
|
||||||
ports.web.containerPort = 6767;
|
ports.web.containerPort = 6767;
|
||||||
imagePullPolicy = "IfNotPresent";
|
imagePullPolicy = "IfNotPresent";
|
||||||
|
|
||||||
|
|
9
nixng-configurations/bazarr.nix
Normal file
9
nixng-configurations/bazarr.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{...}: {
|
||||||
|
dinit.enable = true;
|
||||||
|
init.services.bazarr.shutdownOnExit = true;
|
||||||
|
|
||||||
|
services.bazarr = {
|
||||||
|
enable = true;
|
||||||
|
configDir = "/config";
|
||||||
|
};
|
||||||
|
}
|
|
@ -15,6 +15,7 @@ flake-utils.lib.eachDefaultSystem (system: let
|
||||||
jellyseerr = ./jellyseerr.nix;
|
jellyseerr = ./jellyseerr.nix;
|
||||||
radarr = ./radarr.nix;
|
radarr = ./radarr.nix;
|
||||||
sonarr = ./sonarr.nix;
|
sonarr = ./sonarr.nix;
|
||||||
|
bazarr = ./bazarr.nix;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
nixngConfigurations = builtins.mapAttrs (name: configFile:
|
nixngConfigurations = builtins.mapAttrs (name: configFile:
|
||||||
|
|
Loading…
Reference in a new issue