{
  services.restic.backups = {
    daily = {
      paths = [
        "/srv/media-server/jellyfin"
      ];
      exclude = [
      ];
    };
  };

  virtualisation.arion = {
    backend = "podman-socket";
    projects.jellyfin = {
      settings = {
        services.jellyfin.service = {
          ports = [
            "8096:8096"
          ];
          image = "lscr.io/linuxserver/jellyfin:latest";
          restart = "always";
          volumes = [
            "/srv/media-server/jellyfin/config:/config"
            "/media/media/tv:/data/tvshows"
            "/media/media/movies:/data/movies"
            "/media/media/music/music_data:/data/music"
            "/media/media/youtube:/data/youtube"
            "/media/media/podcasts:/data/podcasts"
            "/srv/media-server/jellyfin/config/custom-cont-init.d:/custom-cont-init.d:ro"
          ];
          environment = {
            PUID = "1000";
            PGID = "1000";
            DOCKER_MODS="linuxserver/mods:jellyfin-opencl-intel";
          };
          devices = ["/dev/dri:/dev/dri"];
        };
      };
    };
  };
}