nixos-config/hosts/x86_64-linux/seraphim/jellyfin.nix

19 lines
342 B
Nix
Raw Permalink Normal View History

2024-03-31 01:29:35 +01:00
{
2024-04-01 02:29:05 +02:00
config,
pkgs,
lib,
...
}: {
2024-03-31 01:29:35 +01:00
services.jellyfin.enable = true;
services.jellyfin.user = "xqtc";
services.nginx.virtualHosts."jellyfin.fritz.box" = {
locations."/" = {
extraConfig = ''
proxy_set_header Host $host;
'';
proxyPass = "http://127.0.0.1:8096";
proxyWebsockets = true;
};
};
}