From 18beb41cd8b46dd331b0fd656c7c9bfaa3c944b2 Mon Sep 17 00:00:00 2001 From: sora-ext Date: Wed, 13 May 2026 17:31:19 +0200 Subject: [PATCH] Update modules/server/containers/apps/jellyfin.nix --- modules/server/containers/apps/jellyfin.nix | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/modules/server/containers/apps/jellyfin.nix b/modules/server/containers/apps/jellyfin.nix index 39a6882..0016911 100644 --- a/modules/server/containers/apps/jellyfin.nix +++ b/modules/server/containers/apps/jellyfin.nix @@ -1,7 +1,7 @@ { config, containerCfg, pkgs, lib, builder, name, ... }: let serverCfg = config.syscfg.server; - image = pkgs.dockerTools.streamLayeredImage { + image = pkgs.dockerTools.streamLayeredImage { # pkgs.dockerTools.buildImage{# name = pkgs.jellyfin.name; tag = pkgs.jellyfin.version; contents = [ @@ -12,12 +12,7 @@ let ExposedPorts = { "8096/tcp" = { }; }; }; }; - #LDAP_DC_DOMAIN = "dc=ldap,dc=helcel,dc=net" - #HOST=... - #LDAP_BIND_USER=ldap-sa - #LDAP_BIND_PASSWORD=... - #LDAP_GROUP=flix - #LDAP_ADMIN=admin + in { paths = [ { @@ -34,6 +29,7 @@ in { server = builder.mkContainer { subdomain = containerCfg.subdomain; imageStream = image; + # imageFile = image; port = 8096; # secret = name; extraEnv = { @@ -52,7 +48,7 @@ in { "--logdir" "/config/log" ]; volumes = [ - "${serverCfg.dataPath}:/media:ro" + "${serverCfg.dataPath}/media:/media:ro" "${serverCfg.configPath}/jellyfin:/config" ]; # If you have an Intel/AMD GPU for transcoding, add the device: @@ -60,4 +56,13 @@ in { }; }; }; + + + + #LDAP_DC_DOMAIN = "dc=ldap,dc=helcel,dc=net" + #HOST=... + #LDAP_BIND_USER=ldap-sa + #LDAP_BIND_PASSWORD=... + #LDAP_GROUP=flix + #LDAP_ADMIN=admin } \ No newline at end of file