Files
nix-config/nas-apps/jellyfin.nix
2024-02-18 18:14:32 -06:00

34 lines
774 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;
};
};
}