update jellyfin and fix plugin
This commit is contained in:
parent
72c27faa73
commit
37317f42ba
@ -1,13 +1,17 @@
|
|||||||
{ config, ... }:
|
{ config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
nas-path = "/media/nas/media-stack";
|
nas-path = "/media/nas/media-stack";
|
||||||
renderGid = toString config.users.groups.render.gid;
|
renderGid = toString config.users.groups.render.gid;
|
||||||
videoGid = toString config.users.groups.video.gid;
|
videoGid = toString config.users.groups.video.gid;
|
||||||
inputGid = toString config.users.groups.input.gid;
|
inputGid = toString config.users.groups.input.gid;
|
||||||
|
intro-skipper-fix = pkgs.writeText "intro-skipper-fix" ''
|
||||||
|
#!/bin/bash
|
||||||
|
chown abc /usr/share/jellyfin/web/index.html
|
||||||
|
'';
|
||||||
in {
|
in {
|
||||||
virtualisation.oci-containers.containers.jellyfin = {
|
virtualisation.oci-containers.containers.jellyfin = {
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
image = "docker.io/linuxserver/jellyfin:10.9.1";
|
image = "docker.io/linuxserver/jellyfin:10.9.6";
|
||||||
environment = {
|
environment = {
|
||||||
PUID = "1000";
|
PUID = "1000";
|
||||||
PGID = "100";
|
PGID = "100";
|
||||||
@ -25,6 +29,7 @@ in {
|
|||||||
volumes = [
|
volumes = [
|
||||||
"${nas-path}/configs/jellyfin:/config"
|
"${nas-path}/configs/jellyfin:/config"
|
||||||
"${nas-path}/media:/data/media"
|
"${nas-path}/media:/data/media"
|
||||||
|
"${intro-skipper-fix}:/custom-cont-init.d/intro-skipper-fix:ro"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user