Add Jellyfin. 73

This commit is contained in:
Jimbo 2025-01-16 00:41:00 -05:00
parent 28bcb88d50
commit ce6ffd9ee7
15 changed files with 54 additions and 9 deletions

View file

@ -0,0 +1,8 @@
{ config, ... }:
{
imports = [
./nginx
];
services.jellyfin.enable = config.system.fileserver.enable;
}

View file

@ -0,0 +1,11 @@
{ lib, config, ... }:
{
services.nginx.virtualHosts."jelly.${config.domains.p2}" = lib.mkIf config.services.forgejo.enable {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8096";
proxyWebsockets = true;
};
};
}