nix-config/configs/nixos/jellyfin.nix

21 lines
333 B
Nix
Raw Normal View History

2024-09-04 05:51:02 +02: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";
};
};
}