nixos-config/configurations/camelot/jellyfin.nix

25 lines
440 B
Nix

{ extraInfo, ... }:
{
services.jellyfin.enable = true;
services.nginx.virtualHosts.${extraInfo.jellyfinURI} = {
enableACME = true;
forceSSL = true;
locations = {
"/" = {
proxyPass = "http://localhost:8096";
};
"/socket" = {
proxyPass = "http://localhost:8096";
proxyWebsockets = true;
};
};
};
services.sonarr = {
enable = true;
openFirewall = true;
};
}