Build Sonarr image with NixNG

This commit is contained in:
Pim Kunis 2024-12-23 15:54:56 +01:00
parent e1ebabe09b
commit 95ce6f2c7a
5 changed files with 15 additions and 5 deletions

View file

@ -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:

View file

@ -0,0 +1,9 @@
{...}: {
dinit.enable = true;
init.services.sonarr.shutdownOnExit = true;
services.sonarr = {
enable = true;
dataDir = "/config";
};
}