diff --git a/hosts/noximilien/default.nix b/hosts/noximilien/default.nix index 9fe5f2e..805275a 100644 --- a/hosts/noximilien/default.nix +++ b/hosts/noximilien/default.nix @@ -38,6 +38,7 @@ ../../profiles/http/services/rss-bridge.nix #../../profiles/http/services/jellyfin.nix ../../profiles/http/services/plex.nix + ../../profiles/http/services/tautulli.nix ../../profiles/http/services/libreddit.nix #../../profiles/http/services/mattermost.nix #../../profiles/http/services/navidrome.nix diff --git a/profiles/http/services/tautulli.nix b/profiles/http/services/tautulli.nix new file mode 100644 index 0000000..d8ac8dd --- /dev/null +++ b/profiles/http/services/tautulli.nix @@ -0,0 +1,19 @@ +{ 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; + }; + }; + +}