nixos/influxdb2: set timezone data environment variable

Go reads the timezone database from ZONEINFO instead of TZDIR, which is otherwise
unset.

xeals de4601c3 1f834c8f

Changed files
+1
nixos
modules
services
databases
+1
nixos/modules/services/databases/influxdb2.nix
···
after = [ "network.target" ];
environment = {
INFLUXD_CONFIG_PATH = configFile;
+
ZONEINFO = "${pkgs.tzdata}/share/zoneinfo";
};
serviceConfig = {
ExecStart = "${cfg.package}/bin/influxd --bolt-path \${STATE_DIRECTORY}/influxd.bolt --engine-path \${STATE_DIRECTORY}/engine";