dotfiles/common/systemModules/jellyfin.nix
sadan b07403e610
things
- enable
  - qbit
  - prowlarr
- use proxyWebsockets
- use reccomended proxy settings
- fix docker compose file name
2025-03-12 22:14:21 -04:00

34 lines
627 B
Nix

{ config, ... }:
{
users = {
groups = {
media = {
gid = 1002;
};
};
};
services = {
jellyfin = {
dataDir = "${config.fileSystems."/storage".mountPoint}/jfData/";
group = "media";
enable = true;
openFirewall = true;
};
};
services = {
nginx = {
virtualHosts = {
"jf.sadan.zip" = {
forceSSL = true;
useACMEHost = "sadan.zip";
locations = {
"/" = {
proxyPass = "http://localhost:8096";
proxyWebsockets = true;
};
};
};
};
};
};
}