config/profiles/http/services/tautulli.nix

20 lines
505 B
Nix
Raw Permalink Normal View History

2024-02-01 02:05:32 +01:00
{ config, pkgs, lib, inputs, mkDomain, ... }:
{
# plex admin web ui
# previously known as plexpy
services.tautulli.enable = true;
services.tautulli.port = 8474;
services.nginx.virtualHosts.${mkDomain "tautulli"} = lib.mkIf config.services.tautulli.enable {
forceSSL = true; # addSSL = true;
enableACME = true; #useACMEHost = acmeDomain;
locations."/" = {
proxyPass = "http://127.0.0.1:${toString config.services.tautulli.port}";
proxyWebsockets = true;
};
};
}