chore(host/faunus-ater): update media services

This commit is contained in:
Malte Tammena 2024-10-16 14:02:45 +02:00
parent d10df735be
commit fe91f26c02

View file

@ -21,12 +21,12 @@ in {
services.radarr = {
enable = true;
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 {
inherit version;
src = pkgs.fetchurl {
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";
@ -60,11 +60,11 @@ in {
group = "media";
};
# Bazarr for subtitles
# Prowlarr for fetching
services.prowlarr = {
enable = true;
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 =
{
aarch64-darwin = "arm64";
@ -77,7 +77,7 @@ in {
inherit version;
src = pkgs.fetchurl {
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 = {
enable = true;
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
@ -109,32 +100,32 @@ in {
directory = "/data/dirty/music";
handler = "filesystem";
methods = ["webdav-ro"];
autoindex = true;
auth = "false";
hide-symlinks = false;
}
{
route = ["/tv/*path"];
directory = "/data/media/tv";
handler = "filesystem";
methods = ["webdav-ro"];
autoindex = true;
auth = "false";
hide-symlinks = false;
}
{
route = ["/anime/*path"];
directory = "/data/media/anime";
handler = "filesystem";
methods = ["webdav-ro"];
autoindex = true;
auth = "false";
hide-symlinks = false;
}
{
route = ["/movies/*path"];
directory = "/data/media/movies";
handler = "filesystem";
methods = ["webdav-ro"];
autoindex = true;
auth = "false";
hide-symlinks = false;
}
];
};