Chinmay D. Pai
3408ceb62c
Can finally deploy: * Jellyfin * Jellyseerr * Radarr, Prowlarr, Sonarr, Bazarr * QBitTorrent + VueTorrent Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
33 lines
843 B
Nix
33 lines
843 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: {
|
|
options.snowflake.services.arr = {
|
|
enable = lib.mkEnableOption "Enable arr suite configuration";
|
|
monitoring = {
|
|
enable = lib.mkEnableOption "Enable monitoring for arr suite";
|
|
sonarrApiKeyFile = lib.mkOption {
|
|
description = "Age module containing the sonarr API Key to use for monitoring";
|
|
};
|
|
radarrApiKeyFile = lib.mkOption {
|
|
description = "Age module containing the radarr API Key to use for monitoring";
|
|
};
|
|
};
|
|
};
|
|
|
|
config = lib.mkIf config.snowflake.services.arr.enable {
|
|
snowflake.services = {
|
|
jellyfin.enable = true;
|
|
jellyseerr.enable = true;
|
|
radarr.enable = true;
|
|
sonarr.enable = true;
|
|
prowlarr.enable = true;
|
|
qbittorrent-nox = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
};
|
|
};
|
|
};
|
|
}
|