nix-config/configs/nixos/jellyfin.nix

21 lines
333 B
Nix
Raw Normal View History

2024-09-03 22:51:02 -05:00
{
inputs,
config,
pkgs,
lib,
...
}: {
services.jellyfin = {
enable = true;
openFirewall = true;
dataDir = "/storage/jellyfin";
};
services.nginx.virtualHosts."media.venberg.xyz" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://localhost:8096";
};
};
}