Merge branch 'master' of gitlab.com:pazpi/nix
This commit is contained in:
commit
797411f44a
16 changed files with 262 additions and 132 deletions
|
|
@ -12,52 +12,21 @@ let
|
|||
|
||||
containersDefinition = {
|
||||
|
||||
jackett = {
|
||||
flaresolverr = {
|
||||
enable = true;
|
||||
image = "linuxserver/jackett";
|
||||
image = "ghcr.io/flaresolverr/flaresolverr:v3.3.21";
|
||||
autoStart = true;
|
||||
volumes = [
|
||||
"jackett_config:/config"
|
||||
"jackett_data:/data"
|
||||
];
|
||||
};
|
||||
|
||||
radarr = {
|
||||
enable = true;
|
||||
image = "linuxserver/radarr";
|
||||
autoStart = true;
|
||||
volumes = [
|
||||
"radarr_config:/config"
|
||||
"radarr_data:/data"
|
||||
];
|
||||
};
|
||||
|
||||
sonarr = {
|
||||
enable = true;
|
||||
image = "linuxserver/sonarr";
|
||||
autoStart = true;
|
||||
volumes = [
|
||||
"sonarr_config:/config"
|
||||
"sonarr_data:/data"
|
||||
];
|
||||
};
|
||||
|
||||
prowlarr = {
|
||||
enable = true;
|
||||
image = "linuxserver/prowlarr";
|
||||
autoStart = true;
|
||||
volumes = [ "prowlarr_config:/config" ];
|
||||
# volumes = [
|
||||
# "jackett_data:/data"
|
||||
# ];
|
||||
};
|
||||
};
|
||||
|
||||
# Pod Definition
|
||||
podDefinition = {
|
||||
name = "download";
|
||||
name = "media-manager-extra";
|
||||
ports = [
|
||||
"7878:7878" # : Radarr
|
||||
"8989:8989" # : Sonarr
|
||||
"9117:9117" # : Jackett
|
||||
"9696:9696" # : Prowlarr
|
||||
"8191:8191" # : FlareSolverr
|
||||
];
|
||||
containers = containersDefinition;
|
||||
};
|
||||
|
|
@ -136,15 +105,15 @@ in
|
|||
|
||||
};
|
||||
|
||||
# my.virtualisation.podmanPods = {
|
||||
# inherit podDefinition;
|
||||
# };
|
||||
my.virtualisation.podmanPods = {
|
||||
inherit podDefinition;
|
||||
};
|
||||
|
||||
# virtualisation.oci-containers.containers =
|
||||
# let
|
||||
# pod = config.helpers.processContainers podDefinition;
|
||||
# in
|
||||
# pod.containers;
|
||||
virtualisation.oci-containers.containers =
|
||||
let
|
||||
pod = config.helpers.processContainers podDefinition;
|
||||
in
|
||||
pod.containers;
|
||||
|
||||
})
|
||||
|
||||
|
|
@ -229,6 +198,8 @@ in
|
|||
enable = true;
|
||||
url = "http://arr.internal:9696";
|
||||
port = 9701;
|
||||
user = "exportarr";
|
||||
group = "exportarr";
|
||||
apiKeyFile = config.age.secrets.prowlarr-apiKey.path;
|
||||
};
|
||||
exportarr-radarr = {
|
||||
|
|
@ -243,18 +214,24 @@ in
|
|||
enable = true;
|
||||
url = "http://arr.internal:8989";
|
||||
port = 9703;
|
||||
user = "exportarr";
|
||||
group = "exportarr";
|
||||
apiKeyFile = config.age.secrets.sonarr-apiKey.path;
|
||||
};
|
||||
exportarr-lidarr = {
|
||||
enable = true;
|
||||
url = "http://arr.internal:8686";
|
||||
port = 9704;
|
||||
user = "exportarr";
|
||||
group = "exportarr";
|
||||
apiKeyFile = config.age.secrets.lidarr-apiKey.path;
|
||||
};
|
||||
exportarr-readarr = {
|
||||
enable = true;
|
||||
url = "http://arr.internal:8787";
|
||||
port = 9705;
|
||||
user = "exportarr";
|
||||
group = "exportarr";
|
||||
apiKeyFile = config.age.secrets.readarr-apiKey.path;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue