21 lines
333 B
Nix
21 lines
333 B
Nix
{
|
|
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";
|
|
};
|
|
};
|
|
}
|