dotfiles.nix/nixos/lavender/containers/jellyfin.nix

16 lines
295 B
Nix
Raw Normal View History

2023-05-16 14:08:07 +08:00
{ ... }:
{
# Jellyfin
virtualisation.oci-containers.containers."jellyfin" = {
autoStart = true;
image = "jellyfin/jellyfin";
volumes = [
"/srv/jellyfin/config:/config"
"/srv/jellyfin/cache:/cache"
"/srv/media:/media"
];
ports = [ "8096:8096" ];
};
}