diff --git a/flake.lock b/flake.lock index 8f0348c..3150d84 100644 --- a/flake.lock +++ b/flake.lock @@ -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": { diff --git a/modules/media.nix b/modules/media.nix index 1732d82..fd0464c 100644 --- a/modules/media.nix +++ b/modules/media.nix @@ -216,7 +216,7 @@ spec = { containers.radarr = { - image = globals.images.radarr; + image = utils.mkNixNGImage "radarr"; ports.web.containerPort = 7878; imagePullPolicy = "IfNotPresent"; diff --git a/nixng-configurations/default.nix b/nixng-configurations/default.nix index a756fcc..5edd330 100644 --- a/nixng-configurations/default.nix +++ b/nixng-configurations/default.nix @@ -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: diff --git a/nixng-configurations/radarr.nix b/nixng-configurations/radarr.nix new file mode 100644 index 0000000..c647100 --- /dev/null +++ b/nixng-configurations/radarr.nix @@ -0,0 +1,9 @@ +{...}: { + dinit.enable = true; + init.services.radarr.shutdownOnExit = true; + + services.radarr = { + enable = true; + dataDir = "/config"; + }; +}