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

24 lines
438 B
Nix
Raw Normal View History

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