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"
|
"treefmt-nix": "treefmt-nix_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1734639946,
|
"lastModified": 1734784051,
|
||||||
"narHash": "sha256-IEuuBrDBGndTnKLfZJ9e8jBvHmIUsUAaTizgn1jmPDs=",
|
"narHash": "sha256-YvlDvvnRZ75reaqiNSAibNS2ThoVhmegxJgCMbnyc/o=",
|
||||||
"owner": "pizzapim",
|
"owner": "pizzapim",
|
||||||
"repo": "NixNG",
|
"repo": "NixNG",
|
||||||
"rev": "a9fa516abbe137c7abbce564150e7e84c701ef05",
|
"rev": "f321e5903925f760bf617f7a92c8e5cd7711d6d9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -216,7 +216,7 @@
|
||||||
|
|
||||||
spec = {
|
spec = {
|
||||||
containers.radarr = {
|
containers.radarr = {
|
||||||
image = globals.images.radarr;
|
image = utils.mkNixNGImage "radarr";
|
||||||
ports.web.containerPort = 7878;
|
ports.web.containerPort = 7878;
|
||||||
imagePullPolicy = "IfNotPresent";
|
imagePullPolicy = "IfNotPresent";
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,7 @@ flake-utils.lib.eachDefaultSystem (system: let
|
||||||
ntfy = ./ntfy.nix;
|
ntfy = ./ntfy.nix;
|
||||||
radicale = ./radicale.nix;
|
radicale = ./radicale.nix;
|
||||||
jellyseerr = ./jellyseerr.nix;
|
jellyseerr = ./jellyseerr.nix;
|
||||||
|
radarr = ./radarr.nix;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
nixngConfigurations = builtins.mapAttrs (name: configFile:
|
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