plex reverse proxy

This commit is contained in:
Danilo Reyes 2024-11-29 00:04:21 -06:00
parent bdb27a4486
commit 384d1f4dbb
2 changed files with 5 additions and 1 deletions

View File

@ -41,6 +41,10 @@
enableProxy = true;
hostName = "server";
};
plex = {
enableProxy = true;
hostName = "server";
};
nextcloud = {
enable = true;
enableCron = true;

View File

@ -8,7 +8,7 @@ let
setup = import ./setup.nix { inherit lib config; };
in
{
options.my.servers.jellyfin = setup.mkOptions "plex" "plex" 32400;
options.my.servers.plex = setup.mkOptions "plex" "plex" 32400;
config = {
services = {
plex = lib.mkIf cfg.enable {