nixos-selfhost/jellyfin.nix
2024-03-01 22:15:55 +01:00

27 lines
442 B
Nix

{ config, ... }:
let
domain = "jelly.sondell.org";
# derp = "hi";
in
{
#
services.jellyfin = {
enable = true;
};
services.nginx.virtualHosts.${domain} = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://localhost:8096/";
proxyWebsockets = true;
# extraConfig = ''
# access_log /var/log/nginx/access.log main if=$forgejo_access_log;
# '';
};
};
}