nix-config/hosts/nixedo/modules/jellyfin.nix

29 lines
559 B
Nix
Raw Normal View History

2024-11-26 08:40:00 +00:00
{
services =
let
port = 8096;
in
{
jellyfin = {
enable = true;
openFirewall = true;
group = "media";
configDir = "/mnt/media/jellyfin";
};
nginx.virtualHosts."jellyfin.oliverdavies.uk" = {
forceSSL = true;
useACMEHost = "oliverdavies.uk";
locations."/" = {
proxyPass = "http://localhost:${toString port}";
2025-04-28 02:07:10 +01:00
recommendedProxySettings = true;
extraConfig = ''
proxy_buffering off;
'';
};
};
};
2024-11-26 08:40:00 +00:00
}