21 lines
459 B
Nix
21 lines
459 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
# Streaming frontend
|
|
services.jellyfin = {
|
|
enable = true;
|
|
openFirewall = false;
|
|
group = "media";
|
|
dataDir = "/media/apps/jellyfin";
|
|
};
|
|
|
|
users.users.jellyfin.extraGroups = [ "render" "video" ];
|
|
|
|
services.caddy.virtualHosts."watch.${config.homelab.domain}" = {
|
|
# useACMEHost = config.homelab.domain;
|
|
extraConfig = ''
|
|
reverse_proxy http://localhost:8096
|
|
import block_non_private_ips
|
|
'';
|
|
};
|
|
}
|