27 lines
480 B
Nix
27 lines
480 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib; {
|
|
services = {
|
|
nginx = {
|
|
virtualHosts."stream.posixlycorrect.com" = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
locations."/" = {
|
|
proxyPass = "http://localhost:8096";
|
|
};
|
|
};
|
|
};
|
|
|
|
jellyfin = {
|
|
enable = true;
|
|
user = "jellyfin";
|
|
group = "jellyfin";
|
|
dataDir = "/mnt/export2008/jellyfin/dataDir";
|
|
cacheDir = "/mnt/export2008/jellyfin/cacheDir";
|
|
};
|
|
};
|
|
}
|