Files
nix-config/nas-apps/jellyfin.nix
mjallen18 4b15be1b8d nas fixes
2024-02-18 19:24:34 -06:00

35 lines
779 B
Nix

{ config, pkgs, ... }:
{
# environment.systemPackages = [
# pkgs.jellyfin
# pkgs.jellyfin-web
# pkgs.jellyfin-ffmpeg
# ];
# services.jellyfin = {
# enable = true;
# openFirewall = true;
# };
# Jellyfin
virtualisation.oci-containers.containers."jellyfin" = {
autoStart = true;
image = "jellyfin/jellyfin";
volumes = [
"/mnt/Safe\ SSD/ssd_app_data/jellyfin/config:/config"
"/mnt/Safe\ SSD/ssd_app_data/jellyfin/cache:/cache"
"/mnt/Safe\ SSD/ssd_app_data/jellyfin/log:/log"
"/mnt/Main\ Pool/Movies:/movies"
"/mnt/Main\ Pool/TV:/tv"
];
ports = [ "8096:8096" ];
environment = {
JELLYFIN_LOG_DIR = "/log";
PUID = "911";
PGID = "1000";
};
};
}