31 lines
885 B
Nix
31 lines
885 B
Nix
{
|
|
virtualisation.arion = {
|
|
backend = "podman-socket";
|
|
projects.jellyfin = {
|
|
settings = {
|
|
services.jellyfin.service = {
|
|
ports = [
|
|
"8096:8096"
|
|
];
|
|
image = "lscr.io/linuxserver/jellyfin:latest";
|
|
restart = "always";
|
|
volumes = [
|
|
"/srv/media-server/jellyfin/config:/config"
|
|
"/media/media/tv:/data/tvshows"
|
|
"/media/media/movies:/data/movies"
|
|
"/media/media/music/music_data:/data/music"
|
|
"/media/media/youtube:/data/youtube"
|
|
"/media/media/podcasts:/data/podcasts"
|
|
"/srv/media-server/jellyfin/config/custom-cont-init.d:/custom-cont-init.d:ro"
|
|
];
|
|
environment = {
|
|
PUID = "1000";
|
|
PGID = "1000";
|
|
};
|
|
devices = ["/dev/dri:/dev/dri"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|