nixos-selfhost/jellyfin.nix
2024-04-19 16:11:18 +02:00

24 lines
329 B
Nix

{ config, ... }:
let
domain = "jelly.sondell.org";
# derp = "hi";
in
{
#
services.jellyfin = {
enable = true;
};
services.nginx.virtualHosts.${domain} = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:8096/";
proxyWebsockets = true;
};
};
}