From a8cb1f33b2c0ea49c434b5f251fe45938d050f6a Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Thu, 20 Feb 2025 04:19:27 -0500 Subject: nixos: include nginx proxies in mixins --- systems/atlas/grafana.nix | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 systems/atlas/grafana.nix (limited to 'systems/atlas/grafana.nix') diff --git a/systems/atlas/grafana.nix b/systems/atlas/grafana.nix deleted file mode 100644 index c6a84ab..0000000 --- a/systems/atlas/grafana.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ config, ... }: - -{ - services = { - grafana = { - enable = true; - }; - - nginx.virtualHosts = { - "grafana.getchoo.com" = { - locations."/" = { - proxyPass = "http://${config.services.grafana.settings.server.http_addr}:${toString config.services.grafana.settings.server.http_port}"; - proxyWebsockets = true; - }; - }; - }; - }; -} -- cgit v1.2.3