mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-23 04:10:32 +01:00
15 lines
332 B
Nix
15 lines
332 B
Nix
|
{config, pkgs, lib, ...}:
|
||
|
{
|
||
|
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;
|
||
|
};
|
||
|
};
|
||
|
}
|