plex reverse proxy

This commit is contained in:
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; enableProxy = true;
hostName = "server"; hostName = "server";
}; };
plex = {
enableProxy = true;
hostName = "server";
};
nextcloud = { nextcloud = {
enable = true; enable = true;
enableCron = true; enableCron = true;

View File

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