Use NixNG for Radarr
This commit is contained in:
parent
49ecab9603
commit
89b305a2ac
4 changed files with 14 additions and 4 deletions
|
@ -676,11 +676,11 @@
|
|||
"treefmt-nix": "treefmt-nix_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1734639946,
|
||||
"narHash": "sha256-IEuuBrDBGndTnKLfZJ9e8jBvHmIUsUAaTizgn1jmPDs=",
|
||||
"lastModified": 1734784051,
|
||||
"narHash": "sha256-YvlDvvnRZ75reaqiNSAibNS2ThoVhmegxJgCMbnyc/o=",
|
||||
"owner": "pizzapim",
|
||||
"repo": "NixNG",
|
||||
"rev": "a9fa516abbe137c7abbce564150e7e84c701ef05",
|
||||
"rev": "f321e5903925f760bf617f7a92c8e5cd7711d6d9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -216,7 +216,7 @@
|
|||
|
||||
spec = {
|
||||
containers.radarr = {
|
||||
image = globals.images.radarr;
|
||||
image = utils.mkNixNGImage "radarr";
|
||||
ports.web.containerPort = 7878;
|
||||
imagePullPolicy = "IfNotPresent";
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@ flake-utils.lib.eachDefaultSystem (system: let
|
|||
ntfy = ./ntfy.nix;
|
||||
radicale = ./radicale.nix;
|
||||
jellyseerr = ./jellyseerr.nix;
|
||||
radarr = ./radarr.nix;
|
||||
};
|
||||
in {
|
||||
nixngConfigurations = builtins.mapAttrs (name: configFile:
|
||||
|
|
9
nixng-configurations/radarr.nix
Normal file
9
nixng-configurations/radarr.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{...}: {
|
||||
dinit.enable = true;
|
||||
init.services.radarr.shutdownOnExit = true;
|
||||
|
||||
services.radarr = {
|
||||
enable = true;
|
||||
dataDir = "/config";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue