2024-11-10 09:51:46 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
2024-04-08 20:05:37 +00:00
|
|
|
services.jellyfin.enable = true;
|
|
|
|
environment.systemPackages = [
|
|
|
|
pkgs.jellyfin
|
|
|
|
pkgs.jellyfin-web
|
|
|
|
pkgs.jellyfin-ffmpeg
|
2024-11-10 09:51:46 +00:00
|
|
|
pkgs.yt-dlp
|
2024-04-08 20:05:37 +00:00
|
|
|
];
|
|
|
|
services.caddy.virtualHosts."jellyfin.int.chir.rs" = {
|
|
|
|
useACMEHost = "int.chir.rs";
|
|
|
|
logFormat = pkgs.lib.mkForce "";
|
|
|
|
extraConfig = ''
|
|
|
|
import baseConfig
|
|
|
|
|
|
|
|
reverse_proxy {
|
|
|
|
to http://localhost:8096
|
|
|
|
trusted_proxies private_ranges
|
|
|
|
}
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|