jellyfin changes for nasty

This commit is contained in:
mc-fucker 2024-08-27 23:56:53 +02:00
parent 80f62467d9
commit a93d9736a9
2 changed files with 19 additions and 12 deletions

View file

@ -16,20 +16,27 @@ in
{
virtualisation.oci-containers.containers.jellyfin = {
#image = "docker.io/jellyfin/jellyfin";
image = "ghcr.io/confusedpolarbear/jellyfin-intro-skipper";
extraOptions = cfg.podman.extraOptions;
ports = [ "${port}:${port}" ];
image = "docker.io/jellyfin/jellyfin";
#image = "ghcr.io/confusedpolarbear/jellyfin-intro-skipper";
extraOptions = cfg.podman.extraOptions ++ [
"--group-add=303"
"--device=/dev/dri/renderD128:/dev/dri/renderD128"
"--health-startup-cmd=curl -Lk -fsS http://localhost:8096/health || exit 1"
"--health-start-period=30s"
];
ports = [
"${port}:${port}"
"1900:1900/udp"
"7359:7359/udp"
];
volumes = [
"/var/lib/jellyfin:/config"
"/mnt/cache/jellyfin:/cache"
"/mnt/gdrive:/mnt/gdrive:ro"
#"/mnt/gdrive:/mnt/gdrive"
"/mnt/cache/jellyfin/metadata:/config/metadata"
"/mnt/cache/jellyfin/cache:/cache"
"/mnt/mergerfs/media:/media:ro"
"/mnt/mergerfs/recorded:/recorded"
];
};
systemd.services.podman-jellyfin = {
after = [ "gdrive_mount.service" ];
autoStart = false;
};
imports = [ ./nginx.nix ];

View file

@ -52,7 +52,7 @@
};
jellyfin = {
domain = "jftest.mc-fucker.cool";
domain = "jf.mc-fucker.cool";
port = "8096";
};