run influx on bolty

This commit is contained in:
Cyryl Płotnicki 2023-11-02 18:04:13 +00:00
parent 7a97032c15
commit 718b0aa8fc
2 changed files with 2 additions and 2 deletions

View file

@ -7,6 +7,7 @@
./grafana.nix ./grafana.nix
./home-assistant.nix ./home-assistant.nix
./home-security.nix ./home-security.nix
./influxdb.nix
./logs.nix ./logs.nix
./nas.nix ./nas.nix
./networking.nix ./networking.nix

View file

@ -5,7 +5,6 @@
lib, lib,
... ...
}: let }: let
fqdn = "bolty.raptor-carp.ts.net";
port = 8086; port = 8086;
path = "/data/influxdb"; path = "/data/influxdb";
certPath = "${path}/cert.pem"; certPath = "${path}/cert.pem";
@ -48,7 +47,7 @@ in {
services.influxdb2 = { services.influxdb2 = {
enable = true; enable = true;
settings = { settings = {
http-bind-address = "${fqdn}:${toString port}"; http-bind-address = "0.0.0.0:${toString port}";
tls-cert = "${certPath}"; tls-cert = "${certPath}";
tls-key = "${keyPath}"; tls-key = "${keyPath}";
}; };