mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-09 14:03:02 -04:00
- enable - qbit - prowlarr - use proxyWebsockets - use reccomended proxy settings - fix docker compose file name
34 lines
627 B
Nix
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;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|