chore(host/faunus-ater): update media services
This commit is contained in:
parent
d10df735be
commit
fe91f26c02
|
@ -21,12 +21,12 @@ in {
|
||||||
services.radarr = {
|
services.radarr = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.radarr.overrideAttrs (old: let
|
package = pkgs.radarr.overrideAttrs (old: let
|
||||||
version = lib.warnIfNot (old.version == "5.2.6.8376") "Lidarr was updated!" "5.3.6.8612";
|
version = lib.warnIfNot (old.version == "5.8.3.8933") "Radarr was updated!" "5.9.1.9070";
|
||||||
in {
|
in {
|
||||||
inherit version;
|
inherit version;
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "https://github.com/Radarr/Radarr/releases/download/v${version}/Radarr.master.${version}.linux-core-x64.tar.gz";
|
url = "https://github.com/Radarr/Radarr/releases/download/v${version}/Radarr.master.${version}.linux-core-x64.tar.gz";
|
||||||
sha256 = "sha256-oZI2nvxvxOiv9F9c2AaP9hEBVd3kV4tjuEmvaR5V0Lc=";
|
sha256 = "sha256-byYFQ3QJVElVNSxYWOx0EWbreDKgFcaQFkXNkWt3TP8=";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
group = "media";
|
group = "media";
|
||||||
|
@ -60,11 +60,11 @@ in {
|
||||||
group = "media";
|
group = "media";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Bazarr for subtitles
|
# Prowlarr for fetching
|
||||||
services.prowlarr = {
|
services.prowlarr = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.prowlarr.overrideAttrs (old: let
|
package = pkgs.prowlarr.overrideAttrs (old: let
|
||||||
version = lib.warnIfNot (old.version == "1.10.5.4116") "Prowlarr was updated!" "1.13.3.4273";
|
version = lib.warnIfNot (old.version == "1.20.1.4603") "Prowlarr was updated!" "1.23.1.4708";
|
||||||
arch =
|
arch =
|
||||||
{
|
{
|
||||||
aarch64-darwin = "arm64";
|
aarch64-darwin = "arm64";
|
||||||
|
@ -77,7 +77,7 @@ in {
|
||||||
inherit version;
|
inherit version;
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "https://github.com/Prowlarr/Prowlarr/releases/download/v${version}/Prowlarr.master.${version}.linux-core-${arch}.tar.gz";
|
url = "https://github.com/Prowlarr/Prowlarr/releases/download/v${version}/Prowlarr.master.${version}.linux-core-${arch}.tar.gz";
|
||||||
hash = "sha256-8yESqqILrYZXhOPXLrlEVkQca0MYRfzKO+GtFqyLeGs=";
|
hash = "sha256-7LdJvJYArfpYMKdAt98jxW08p8a+o5OTjoTRRX74ds8=";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -86,15 +86,6 @@ in {
|
||||||
services.sabnzbd = {
|
services.sabnzbd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
group = "media";
|
group = "media";
|
||||||
package = pkgs.sabnzbd.overrideAttrs (old: rec {
|
|
||||||
version = lib.warnIfNot (old.version == "4.2.1") "Sabnzbd was updated!" "4.2.2";
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = old.pname;
|
|
||||||
repo = old.pname;
|
|
||||||
rev = version;
|
|
||||||
hash = "sha256-e5MjsBFUeQ1FMgMIuTDAmAUqf9BaM+ic2qpd1GVZEAw=";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Webdav to allow remote access
|
# Webdav to allow remote access
|
||||||
|
@ -109,32 +100,32 @@ in {
|
||||||
directory = "/data/dirty/music";
|
directory = "/data/dirty/music";
|
||||||
handler = "filesystem";
|
handler = "filesystem";
|
||||||
methods = ["webdav-ro"];
|
methods = ["webdav-ro"];
|
||||||
autoindex = true;
|
|
||||||
auth = "false";
|
auth = "false";
|
||||||
|
hide-symlinks = false;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
route = ["/tv/*path"];
|
route = ["/tv/*path"];
|
||||||
directory = "/data/media/tv";
|
directory = "/data/media/tv";
|
||||||
handler = "filesystem";
|
handler = "filesystem";
|
||||||
methods = ["webdav-ro"];
|
methods = ["webdav-ro"];
|
||||||
autoindex = true;
|
|
||||||
auth = "false";
|
auth = "false";
|
||||||
|
hide-symlinks = false;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
route = ["/anime/*path"];
|
route = ["/anime/*path"];
|
||||||
directory = "/data/media/anime";
|
directory = "/data/media/anime";
|
||||||
handler = "filesystem";
|
handler = "filesystem";
|
||||||
methods = ["webdav-ro"];
|
methods = ["webdav-ro"];
|
||||||
autoindex = true;
|
|
||||||
auth = "false";
|
auth = "false";
|
||||||
|
hide-symlinks = false;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
route = ["/movies/*path"];
|
route = ["/movies/*path"];
|
||||||
directory = "/data/media/movies";
|
directory = "/data/media/movies";
|
||||||
handler = "filesystem";
|
handler = "filesystem";
|
||||||
methods = ["webdav-ro"];
|
methods = ["webdav-ro"];
|
||||||
autoindex = true;
|
|
||||||
auth = "false";
|
auth = "false";
|
||||||
|
hide-symlinks = false;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue