Build Sonarr image with NixNG
This commit is contained in:
parent
e1ebabe09b
commit
95ce6f2c7a
5 changed files with 15 additions and 5 deletions
|
@ -18,10 +18,10 @@ Legend:
|
|||
| ✨ | `nixng-radicale` | |
|
||||
| ✨ | `nixng-jellyseerr` | |
|
||||
| ✨ | `nixng-radarr` | |
|
||||
| ✨ | `nixng-sonarr` | |
|
||||
| ✅ | `jellyfin/jellyfin` | |
|
||||
| ✅ | `linuxserver/deluge` | |
|
||||
| ✅ | `lscr.io/linuxserver/prowlarr` | |
|
||||
| ✅ | `lscr.io/linuxserver/sonarr` | |
|
||||
| ✅ | `lscr.io/linuxserver/bazarr` | |
|
||||
| ✅ | `ghcr.io/atuinsh/atuin` | |
|
||||
| ✅ | `postgres:14` | Database for Atuin |
|
||||
|
|
|
@ -676,11 +676,11 @@
|
|||
"treefmt-nix": "treefmt-nix_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1734784051,
|
||||
"narHash": "sha256-YvlDvvnRZ75reaqiNSAibNS2ThoVhmegxJgCMbnyc/o=",
|
||||
"lastModified": 1734963444,
|
||||
"narHash": "sha256-uxPuuRnW0O8SC0IGo9jY+x3ghfSEfFcaSAVFb1ZxlWo=",
|
||||
"owner": "pizzapim",
|
||||
"repo": "NixNG",
|
||||
"rev": "f321e5903925f760bf617f7a92c8e5cd7711d6d9",
|
||||
"rev": "a16aa49f49eb559742ff71ad30cfa9985e2223df",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -325,7 +325,7 @@
|
|||
|
||||
spec = {
|
||||
containers.sonarr = {
|
||||
image = globals.images.sonarr;
|
||||
image = utils.mkNixNGImage "sonarr";
|
||||
ports.web.containerPort = 8989;
|
||||
imagePullPolicy = "IfNotPresent";
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@ flake-utils.lib.eachDefaultSystem (system: let
|
|||
radicale = ./radicale.nix;
|
||||
jellyseerr = ./jellyseerr.nix;
|
||||
radarr = ./radarr.nix;
|
||||
sonarr = ./sonarr.nix;
|
||||
};
|
||||
in {
|
||||
nixngConfigurations = builtins.mapAttrs (name: configFile:
|
||||
|
|
9
nixng-configurations/sonarr.nix
Normal file
9
nixng-configurations/sonarr.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{...}: {
|
||||
dinit.enable = true;
|
||||
init.services.sonarr.shutdownOnExit = true;
|
||||
|
||||
services.sonarr = {
|
||||
enable = true;
|
||||
dataDir = "/config";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue